Flush the debug stream

Testing under JTSDK MSYS environment debug info was not being seen while
running rigctl -vvvv

Adding a flush to the debug stream fixes it.

Mike W9MDB
Hamlib-3.0
Michael Black 2015-05-07 13:59:34 -05:00 zatwierdzone przez Nate Bargmann
rodzic fde6174a6f
commit e780f2dc66
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -143,6 +143,7 @@ void HAMLIB_API rig_debug(enum rig_debug_level_e debug_level, const char *fmt, .
rig_debug_stream = stderr;
vfprintf (rig_debug_stream, fmt, ap);
fflush(rig_debug_stream);
}
va_end(ap);