From: Marcela Mašláňová Date: Mon, 4 Oct 2010 16:41:38 +0000 (+0200) Subject: is_local set to zero X-Git-Tag: cronie1.4.6~5^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5da02d866f0be47b02aa499824ec555370564aab;p=cronie is_local set to zero --- diff --git a/.gitignore b/.gitignore index 8362b88..1c873b3 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ man/Makefile man/Makefile.in missing stamp-h1 +tags .deps *.o src/crond diff --git a/src/database.c b/src/database.c index 097c409..c5503a6 100644 --- a/src/database.c +++ b/src/database.c @@ -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))