syslog: Fix in syslog_intbuffer flushing.
This commit is contained in:
parent
0926e7c578
commit
c4a9a35fb9
@ -307,8 +307,8 @@ int syslog_flush_intbuffer(bool force)
|
|||||||
|
|
||||||
/* Select which putc function to use for this flush */
|
/* Select which putc function to use for this flush */
|
||||||
|
|
||||||
putfunc = force ? g_syslog_channel[i]->sc_ops->sc_putc :
|
putfunc = force ? g_syslog_channel[i]->sc_ops->sc_force :
|
||||||
g_syslog_channel[i]->sc_ops->sc_force;
|
g_syslog_channel[i]->sc_ops->sc_putc;
|
||||||
|
|
||||||
putfunc(g_syslog_channel[i], ch);
|
putfunc(g_syslog_channel[i], ch);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user