diff options
Diffstat (limited to 'usr.sbin/cron/env.c')
-rw-r--r-- | usr.sbin/cron/env.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/cron/env.c b/usr.sbin/cron/env.c index f6cf2ebbcb9..09dc1e82ec5 100644 --- a/usr.sbin/cron/env.c +++ b/usr.sbin/cron/env.c @@ -1,4 +1,4 @@ -/* $OpenBSD: env.c,v 1.10 2002/07/08 18:11:02 millert Exp $ */ +/* $OpenBSD: env.c,v 1.11 2002/07/08 23:42:17 millert Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * All rights reserved */ @@ -21,7 +21,7 @@ */ #if !defined(lint) && !defined(LINT) -static char const rcsid[] = "$OpenBSD: env.c,v 1.10 2002/07/08 18:11:02 millert Exp $"; +static char const rcsid[] = "$OpenBSD: env.c,v 1.11 2002/07/08 23:42:17 millert Exp $"; #endif #include "cron.h" @@ -50,7 +50,7 @@ env_copy(char **envp) { char **p; for (count = 0; envp[count] != NULL; count++) - NULL; + continue; p = (char **) malloc((count+1) * sizeof(char *)); /* 1 for the NULL */ if (p != NULL) { for (i = 0; i < count; i++) |