diff options
Diffstat (limited to 'usr.bin/uudecode/uudecode.c')
-rw-r--r-- | usr.bin/uudecode/uudecode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c index 8225aff90c0..5b6d750dc4f 100644 --- a/usr.bin/uudecode/uudecode.c +++ b/usr.bin/uudecode/uudecode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uudecode.c,v 1.2 1996/06/26 05:42:21 deraadt Exp $ */ +/* $OpenBSD: uudecode.c,v 1.3 1997/01/17 07:13:47 millert Exp $ */ /* $NetBSD: uudecode.c,v 1.6 1994/11/17 07:40:43 jtc Exp $ */ /*- @@ -42,7 +42,7 @@ char copyright[] = #if 0 static char sccsid[] = "@(#)uudecode.c 8.2 (Berkeley) 4/2/94"; #endif -static char rcsid[] = "$OpenBSD: uudecode.c,v 1.2 1996/06/26 05:42:21 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: uudecode.c,v 1.3 1997/01/17 07:13:47 millert Exp $"; #endif /* not lint */ /* @@ -119,7 +119,7 @@ decode() /* handle ~user/file format */ if (buf[0] == '~') { - if (!(p = index(buf, '/'))) { + if (!(p = strchr(buf, '/'))) { (void)fprintf(stderr, "uudecode: %s: illegal ~user.\n", filename); return(1); |