diff options
| author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-02-09 13:02:43 +0000 |
|---|---|---|
| committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-02-09 13:02:43 +0000 |
| commit | 93931378d9375f3e85682492b4f48e1fe7173bcb (patch) | |
| tree | 8a52b952843fdb0211f17b3896a363f23c880740 /usr.sbin/cron | |
| parent | 365b18aa897ca91db8af83c912172a92c109b505 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/cron')
| -rw-r--r-- | usr.sbin/cron/lib/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/cron/lib/misc.c b/usr.sbin/cron/lib/misc.c index 89f15e409ee2..5f6b89f2cec5 100644 --- a/usr.sbin/cron/lib/misc.c +++ b/usr.sbin/cron/lib/misc.c @@ -415,6 +415,7 @@ allowed(username) isallowed = FALSE; + deny = NULL; #if defined(ALLOW_FILE) && defined(DENY_FILE) if ((allow = fopen(ALLOW_FILE, "r")) == NULL && errno != ENOENT) goto out; @@ -423,7 +424,6 @@ allowed(username) Debug(DMISC, ("allow/deny enabled, %d/%d\n", !!allow, !!deny)) #else allow = NULL; - deny = NULL; #endif if (allow) |
