Learn more about cloning repositories
You have read-only access
Move flush_outbuf to the file in which it is used, and by doing so fix a nasty error dealing with two different variables with the same name.