=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/whois/whois.c,v retrieving revision 1.44 retrieving revision 1.45 diff -c -r1.44 -r1.45 *** src/usr.bin/whois/whois.c 2013/03/05 16:09:10 1.44 --- src/usr.bin/whois/whois.c 2013/11/25 18:06:32 1.45 *************** *** 1,4 **** ! /* $OpenBSD: whois.c,v 1.44 2013/03/05 16:09:10 sthen Exp $ */ /* * Copyright (c) 1980, 1993 --- 1,4 ---- ! /* $OpenBSD: whois.c,v 1.45 2013/11/25 18:06:32 deraadt Exp $ */ /* * Copyright (c) 1980, 1993 *************** *** 231,237 **** if ((p = strstr(buf, WHOIS_SERVER_ID))) { p += sizeof(WHOIS_SERVER_ID) - 1; ! while (isblank(*p)) p++; if ((len = strcspn(p, " \t\n\r"))) { if ((nhost = malloc(len + 1)) == NULL) --- 231,237 ---- if ((p = strstr(buf, WHOIS_SERVER_ID))) { p += sizeof(WHOIS_SERVER_ID) - 1; ! while (isblank((unsigned char)*p)) p++; if ((len = strcspn(p, " \t\n\r"))) { if ((nhost = malloc(len + 1)) == NULL)