[Nagiosplug-checkins] CVS: nagiosplug/plugins check_udp.c,1.4,1.5

Karl DeBisschop kdebisschop at users.sourceforge.net
Thu Mar 6 22:44:07 CET 2003


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

Modified Files:
	check_udp.c 
Log Message:
fix for -H invocation of hostname

Index: check_udp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_udp.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** check_udp.c	18 Feb 2003 22:24:35 -0000	1.4
--- check_udp.c	7 Mar 2003 06:43:50 -0000	1.5
***************
*** 221,227 ****
  		server_address = argv[c++];
  	}
! 	else {
  		usage ("Host name was not supplied\n");
- 	}
  
  	return c;
--- 221,227 ----
  		server_address = argv[c++];
  	}
! 
! 	if (server_address == NULL)
  		usage ("Host name was not supplied\n");
  
  	return c;





More information about the Commits mailing list