From 45108c9efd4cdde37a42b5365addeb467754fa04 Mon Sep 17 00:00:00 2001 From: millert Date: Sun, 23 Apr 2000 16:32:07 +0000 Subject: [PATCH] Fix thinko, check eqp for NULL, not ap; ath@algonet.se --- usr.bin/at/at.c | 6 +++--- 1 file 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; -- 2.20.1