From 7f724bc019c31a8c4431544257687485e1f4e097 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 11 Mar 1997 12:09:50 +0000 Subject: Merge Lite2 changes (rather bigish, the dump/restore folks should check) --- sbin/dump/dumprmt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sbin/dump/dumprmt.c') diff --git a/sbin/dump/dumprmt.c b/sbin/dump/dumprmt.c index 08aa485..5959789 100644 --- a/sbin/dump/dumprmt.c +++ b/sbin/dump/dumprmt.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)dumprmt.c 8.1 (Berkeley) 6/5/93"; +static char sccsid[] = "@(#)dumprmt.c 8.3 (Berkeley) 4/28/95"; #endif /* not lint */ #include @@ -55,6 +55,7 @@ static char sccsid[] = "@(#)dumprmt.c 8.1 (Berkeley) 6/5/93"; #include #include +#include #include #include #include @@ -157,7 +158,7 @@ rmtgetconn() exit(X_ABORT); } } - if ((cp = index(rmtpeer, '@')) != NULL) { + if ((cp = strchr(rmtpeer, '@')) != NULL) { tuser = rmtpeer; *cp = '\0'; if (!okname(tuser)) -- cgit v1.1