a digit is a phone number.
SCCS-vsn: usr.bin/tip/tip.c 5.4
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)tip.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)tip.c 5.4 (Berkeley) %G%";
if (system == NOSTR)
goto notnumber;
if (system == NOSTR)
goto notnumber;
- for (p = system; *p; p++)
- if (isalpha(*p))
- goto notnumber;
+ if (isalpha(*system))
+ goto notnumber;
/*
* System name is really a phone number...
* Copy the number then stomp on the original (in case the number
/*
* System name is really a phone number...
* Copy the number then stomp on the original (in case the number