summaryrefslogtreecommitdiff
path: root/usr.bin/at/at.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-04-23 16:32:08 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-04-23 16:32:08 +0000
commitb2b75097ffe6ed3a878d11697fe722261a48b25c (patch)
tree75d2bb9225e01ff157163abc4dd8723c69fb219f /usr.bin/at/at.c
parente8b13da3e0d6cb025712c16d03499e34582fe9de (diff)
Fix thinko, check eqp for NULL, not ap; ath@algonet.se
Diffstat (limited to 'usr.bin/at/at.c')
-rw-r--r--usr.bin/at/at.c6
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;