]> granicus.if.org Git - cronie/commitdiff
is_local set to zero
authorMarcela Mašláňová <mmaslano@redhat.com>
Mon, 4 Oct 2010 16:41:38 +0000 (18:41 +0200)
committerMarcela Mašláňová <mmaslano@redhat.com>
Mon, 4 Oct 2010 16:41:38 +0000 (18:41 +0200)
.gitignore
src/database.c

index 8362b887ad48929a65d48d2075f6208dce2ccaf9..1c873b3c57face3a3fefe176f46d6461a9a7df84 100644 (file)
@@ -19,6 +19,7 @@ man/Makefile
 man/Makefile.in
 missing
 stamp-h1
+tags
 .deps
 *.o
 src/crond
index 097c409c06a7c47208dd6812050f9d097a8dea13..c5503a6c5a3571ef9c1b27e55c93a159a79b0278 100644 (file)
@@ -211,7 +211,7 @@ void check_inotify_database(cron_db * old_db) {
        int retval = 0;
        char buf[BUF_LEN];
        pid_t pid = getpid();
-       int is_local;
+       int is_local = 0;
        time.tv_sec = 0;
        time.tv_usec = 0;
 
@@ -331,7 +331,7 @@ int load_database(cron_db * old_db) {
        DIR_T *dp;
        DIR *dir;
        pid_t pid = getpid();
-       int is_local;
+       int is_local = 0;
 
        Debug(DLOAD, ("[%ld] load_database()\n", (long) pid))