Replace rev. 1.9 with patch from OpenBSD.

Submitted by:	Ray Lai <ray@cyth.net>
Obtained from:	http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tip/acu.c.diff?r1=1.13&r2=1.14
MFC after:	1 week
This commit is contained in:
pav 2007-05-12 23:29:33 +00:00
parent 542df97fc9
commit 627459b3d8

View File

@ -100,10 +100,10 @@ con(void)
if ((acu = acutype(AT)) == NOACU)
return ("unknown ACU type");
if (*cp != '@') {
while (cp != NULL && *cp) {
while (*cp) {
phnum = cp;
cp = strpbrk(cp, ",");
if (cp != NULL && *cp != '\0')
cp += strcspn(cp, ",");
if (*cp != '\0')
*cp++ = '\0';
if (strlen(phnum) == 0)