]> andersk Git - moira.git/blobdiff - update/config.c
Diane Delgado's changes for a fixed table-locking order
[moira.git] / update / config.c
index 083e1fd6c4f6efff2edb869bef02d25a17d06767..85068626624a04115cb02c389f4f9f547dad59dc 100644 (file)
@@ -16,6 +16,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/file.h>
+#include <fcntl.h>
 #include <moira.h>
 
 
@@ -115,6 +116,7 @@ char *key;
 
     start = i++;
     if (config_keys[i] == NULL) i = 0;
+    if (config_keys[i] == NULL) return(NULL);
 
     do {
       if (!strcasecmp(key, config_keys[i]))
This page took 0.046445 seconds and 4 git commands to generate.