Code

Default thresholds not defined for lists in -x parameter (raised by Matt Garrett)
authorTon Voon <tonvoon@users.sourceforge.net>
Tue, 2 Dec 2003 15:27:38 +0000 (15:27 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Tue, 2 Dec 2003 15:27:38 +0000 (15:27 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@783 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_disk.c

index 44b328660525c40e40d5458fbe240fee927a8229..e57fc88b937d7eaf578d2424ed83d39c3940b7b7 100644 (file)
@@ -393,6 +393,10 @@ process_arguments (int argc, char **argv)
                        se = (struct name_list *) malloc (sizeof (struct name_list));
                        se->name = optarg;
                        se->name_next = NULL;
+                       se->w_df = 0;
+                       se->c_df = 0;
+                       se->w_dfp = -1.0;
+                       se->c_dfp = -1.0;
                        *dptail = se;
                        dptail = &se->name_next;
                        break;