[Nagiosplug-checkins] CVS: nagiosplug/plugins check_smtp.c,1.9,1.9.2.1

Subhendu Ghosh sghosh at users.sourceforge.net
Tue Mar 4 22:00:01 CET 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv19652

Modified Files:
      Tag: r1_3_0
	check_smtp.c 
Log Message:
remove race condition for a long HELO

Index: check_smtp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_smtp.c,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -r1.9 -r1.9.2.1
*** check_smtp.c	13 Jan 2003 12:15:16 -0000	1.9
--- check_smtp.c	5 Mar 2003 05:59:01 -0000	1.9.2.1
***************
*** 155,161 ****
  					printf ("SMTP %s - %d sec. response time, %s\n",
  									state_text (result), (int) (end_time - start_time), buffer);
! 				else
! 					printf ("SMTP %s - %d second response time\n", state_text (result),
! 									(int) (end_time - start_time));
  			}
  		}
--- 155,159 ----
  					printf ("SMTP %s - %d sec. response time, %s\n",
  									state_text (result), (int) (end_time - start_time), buffer);
! 				
  			}
  		}
***************
*** 188,191 ****
--- 186,191 ----
  	/* reset the alarm */
  	alarm (0);
+ 
+ 	printf ("SMTP %s - %d second response time\n", state_text (result), (int) (end_time - start_time));
  
  	return result;





More information about the Commits mailing list