diff options
Diffstat (limited to 'bin/pdksh/tree.c')
-rw-r--r-- | bin/pdksh/tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pdksh/tree.c b/bin/pdksh/tree.c index 105158787b3..aeb465c87c1 100644 --- a/bin/pdksh/tree.c +++ b/bin/pdksh/tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tree.c,v 1.2 1996/08/19 20:09:01 downsj Exp $ */ +/* $OpenBSD: tree.c,v 1.3 1997/06/18 22:42:47 kstailey Exp $ */ /* * command tree climbing @@ -592,9 +592,9 @@ iocopy(iow, ap) q = (struct ioword *) alloc(sizeof(*p), ap); ior[i] = q; *q = *p; - if (p->name != (char *) 0) + if (p->name != NULL) q->name = wdcopy(p->name, ap); - if (p->delim != (char *) 0) + if (p->delim != NULL) q->delim = wdcopy(p->delim, ap); } ior[i] = NULL; |