]> granicus.if.org Git - pdns/commit
dnsdist-console: flush cout after printing g_outputBuffer
authorDoug Freed <dwfreed@mtu.edu>
Sat, 27 Jul 2019 05:43:37 +0000 (05:43 +0000)
committerDoug Freed <dwfreed@mtu.edu>
Sat, 27 Jul 2019 05:50:01 +0000 (05:50 +0000)
commit7c7b5b60030e0fed4996c87cc8a32c8eff3c372d
tree265df84e8cf3ac10c022979d1c9ba3ff9d1a63f4
parente26b8c1d14deb4130a85488675972a75a0405eca
dnsdist-console: flush cout after printing g_outputBuffer

cout may not be a tty, in which case it is block buffered by stdlib, so
flush it after printing g_outputBuffer.

Fixes #8130
pdns/dnsdist-console.cc