[PATCH 2/3] Print a newline to the FIFO when submitting commands
Andreas Ericsson
ae at op5.se
Fri Nov 7 11:25:54 CET 2008
puts() adds a newline, but fputs() does not. This had me
fooled for while, and could make cmd.cgi behave poorly
at times.
Spotted-by: Olivier Beytrison <olivier at heliosnet.org>
Debugged-by: Hendrik Baecker <andurin at process-zero.de>
Signed-off-by: Andreas Ericsson <ae at op5.se>
---
cgi/cmd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ced136bfec8a3e988f1ad5ca155662fee341e197.diff
Type: text/x-patch
Size: 288 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20081107/28995010/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list