[Nagiosplug-checkins] CVS: nagiosplug/plugins check_dig.c,1.3,1.4

Karl DeBisschop kdebisschop at users.sourceforge.net
Tue Nov 12 03:29:07 CET 2002


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory usw-pr-cvs1:/tmp/cvs-serv5342

Modified Files:
	check_dig.c 
Log Message:
cleanup asprintf, old function decls

Index: check_dig.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_dig.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** check_dig.c	9 Nov 2002 04:22:22 -0000	1.3
--- check_dig.c	12 Nov 2002 11:28:58 -0000	1.4
***************
*** 34,40 ****
  
  int process_arguments (int, char **);
- int call_getopt (int, char **);
  int validate_arguments (void);
- int check_disk (int usp, int free_disk);
  void print_help (void);
  void print_usage (void);
--- 34,38 ----
***************
*** 60,66 ****
  
  	/* get the command to run */
! 	command_line =
! 		ssprintf (command_line, "%s @%s %s", PATH_TO_DIG, dns_server,
! 							query_address);
  
  	alarm (timeout_interval);
--- 58,62 ----
  
  	/* get the command to run */
! 	asprintf (&command_line, "%s @%s %s", PATH_TO_DIG, dns_server, query_address);
  
  	alarm (timeout_interval);





More information about the Commits mailing list