main: Mark end of array with NULL in order not to crash
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 20 Apr 2012 11:54:27 +0000 (14:54 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 20 Apr 2012 11:55:30 +0000 (13:55 +0200)
src/main.c

index c0e87b3..70d5bb7 100644 (file)
@@ -146,6 +146,7 @@ static void parse_config(GKeyFile *config)
                "wifi",
                "ethernet",
                "cellular",
+               NULL
        };
 
        if (config == NULL) {