diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-23 16:32:08 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-23 16:32:08 +0000 |
commit | b2b75097ffe6ed3a878d11697fe722261a48b25c (patch) | |
tree | 75d2bb9225e01ff157163abc4dd8723c69fb219f | |
parent | e8b13da3e0d6cb025712c16d03499e34582fe9de (diff) |
Fix thinko, check eqp for NULL, not ap; ath@algonet.se
-rw-r--r-- | usr.bin/at/at.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 6733657e3a3..79edcef3a7a 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -1,4 +1,4 @@ -/* $OpenBSD: at.c,v 1.18 2000/01/21 04:22:54 millert Exp $ */ +/* $OpenBSD: at.c,v 1.19 2000/04/23 16:32:07 millert Exp $ */ /* $NetBSD: at.c,v 1.4 1995/03/25 18:13:31 glass Exp $ */ /* @@ -74,7 +74,7 @@ enum { ATQ, ATRM, AT, BATCH, CAT }; /* what program we want to run */ /* File scope variables */ #ifndef lint -static char rcsid[] = "$OpenBSD: at.c,v 1.18 2000/01/21 04:22:54 millert Exp $"; +static char rcsid[] = "$OpenBSD: at.c,v 1.19 2000/04/23 16:32:07 millert Exp $"; #endif char *no_export[] = @@ -316,7 +316,7 @@ writefile(runtimer, queue) char *eqp; eqp = strchr(*atenv, '='); - if (ap == NULL) + if (eqp == NULL) eqp = *atenv; else { int i; |