[PATCH 3/3] Fix submitting service commands

Andreas Ericsson ae at op5.se
Fri Nov 7 11:28:42 CET 2008


The big patch that reworked how command submission works
apparently broke service command submission. This patch
fixes that, and also adds the proper format attributes to
cmd_submitf() so that it won't happen again (well, assuming
one remembers to manually run the compiler with warnings
enabled anyways).

Original patch by Badri Pillai <badri at diglinks.com>
I just added the gcc __attribute__() stuff to cmd_submitf()
to prevent this to happening for other commands as well.

Signed-off-by: Andreas Ericsson <ae at op5.se>
---
 cgi/cmd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: a34628b78ea053e0c6d486ff7e05b47dad7f943d.diff
Type: text/x-patch
Size: 694 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20081107/55b53464/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