aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-05-12 07:45:36 +0000
committerGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-05-12 07:45:36 +0000
commit1ef19943e19fe30a5fbd7607e53c75c98db9974c (patch)
tree27a4c6db305562c8209f7e74d2c9a9b5bd263338 /plugins
parentc7d407faeb8304d779ac09e60551992cb1c12ecd (diff)
downloadmonitoring-plugins-1ef19943e19fe30a5fbd7607e53c75c98db9974c.tar.gz
Fixed glibc error caused in utils_base.c due to uninitialized thresholds struct (spotted on ubundu 6.06 LTS).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1711 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index 61350bfd..5d52d42d 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -69,7 +69,7 @@ int main(int argc, char **argv){
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"));