Code

Fixed glibc error caused in utils_base.c due to uninitialized thresholds struct ...
authorMatthias Eble <psychotrahe@users.sourceforge.net>
Sat, 12 May 2007 07:45:36 +0000 (07:45 +0000)
committerMatthias Eble <psychotrahe@users.sourceforge.net>
Sat, 12 May 2007 07:45:36 +0000 (07:45 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1711 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_cluster.c

index 61350bfdd55e9329d006c3931329cac600be8b1d..5d52d42daeef275ad28c3f2599c9306de20e6c10 100644 (file)
@@ -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"));