[Nagiosplug-checkins] nagiosplug/plugins check_cluster.c,1.6,1.7

Matthias Eble psychotrahe at users.sourceforge.net
Sat May 12 09:45:39 CEST 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs16:/tmp/cvs-serv13845/plugins

Modified Files:
	check_cluster.c 
Log Message:
Fixed glibc error caused in utils_base.c due to uninitialized thresholds struct (spotted on ubundu 6.06 LTS).


Index: check_cluster.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_cluster.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- check_cluster.c	20 Apr 2007 17:46:38 -0000	1.6
+++ check_cluster.c	12 May 2007 07:45:36 -0000	1.7
@@ -69,7 +69,7 @@
 	char *ptr;
 	int data_val;
 	int return_code=STATE_OK;
-	thresholds *thresholds;
+	thresholds *thresholds = NULL;
 
 	if(process_arguments(argc,argv)==ERROR)
 		usage(_("Could not parse arguments"));





More information about the Commits mailing list