[Nagiosplug-checkins] CVS: nagiosplug/plugins check_smtp.c,1.13,1.14
Ton Voon
tonvoon at users.sourceforge.net
Thu Mar 13 13:12:02 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv26416
Modified Files:
check_smtp.c
Log Message:
Perf data without leading spaces and fix ANSI C complaint about \n
Index: check_smtp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_smtp.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** check_smtp.c 12 Mar 2003 06:41:33 -0000 1.13
--- check_smtp.c 13 Mar 2003 21:10:59 -0000 1.14
***************
*** 33,37 ****
const char *option_summary = "\
! -H host [-p port] [-e expect] [-C command] [-f from addr]
[-w warn] [-c crit] [-t timeout] [-n] [-v]";
--- 33,37 ----
const char *option_summary = "\
! -H host [-p port] [-e expect] [-C command] [-f from addr]\n\
[-w warn] [-c crit] [-t timeout] [-n] [-v]";
***************
*** 201,208 ****
if (verbose)
! printf ("SMTP %s - %7.3f sec. response time, %s|time=%7.3f\n",
state_text (result), elapsed_time, buffer, elapsed_time);
else
! printf ("SMTP %s - %7.3f second response time|time=%7.3f\n",
state_text (result), elapsed_time, elapsed_time);
--- 201,208 ----
if (verbose)
! printf ("SMTP %s - %.3f sec. response time, %s|time=%.3f\n",
state_text (result), elapsed_time, buffer, elapsed_time);
else
! printf ("SMTP %s - %.3f second response time|time=%.3f\n",
state_text (result), elapsed_time, elapsed_time);
More information about the Commits
mailing list