X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=log.c;h=a94bde73439d98ce065ad46bb6a111acfe62ab19;hp=0d8bbfa5314bce0b4b7f4f35f32b4d95527b1749;hb=752086e9c8a0f7663f56a0a4ed65cc8f3591654b;hpb=ef3a66299ade1bc41090d0b6d24c21b6bcfad571 diff --git a/log.c b/log.c index 0d8bbfa..a94bde7 100644 --- a/log.c +++ b/log.c @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include @@ -166,6 +165,8 @@ static int srd_logv(void *cb_data, int loglevel, const char *format, || putc('\n', stderr) < 0) return SRD_ERR; + fflush(stderr); + return SRD_OK; }