[Nagiosplug-checkins] CVS: nagiosplug/plugins check_tcp.c,1.14,1.15

Jeremy T. Bouse undrgrid at users.sourceforge.net
Tue Mar 11 18:24:11 CET 2003


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

Modified Files:
	check_tcp.c 
Log Message:
Code cleanup


Index: check_tcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_tcp.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** check_tcp.c	11 Mar 2003 22:22:12 -0000	1.14
--- check_tcp.c	12 Mar 2003 02:23:47 -0000	1.15
***************
*** 229,233 ****
  			if (PROTOCOL == UDP_PROTOCOL)
  				result = my_udp_connect (server_address, server_port, &sd);
! 			else													/* default is TCP */
  				result = my_tcp_connect (server_address, server_port, &sd);
  		}
--- 229,234 ----
  			if (PROTOCOL == UDP_PROTOCOL)
  				result = my_udp_connect (server_address, server_port, &sd);
! 			else
! 				/* default is TCP */
  				result = my_tcp_connect (server_address, server_port, &sd);
  		}





More information about the Commits mailing list