$NetBSD: patch-bk,v 1.1 1999/05/18 14:55:48 bad Exp $ --- net/getprotoent.c.orig Fri Feb 9 06:39:41 1996 +++ net/getprotoent.c Tue May 18 16:45:09 1999 @@ -128,8 +128,8 @@ if (p != NULL) *p++ = '\0'; } - if (p && *p); - break; + if (p && *p) + break; } *alias = NULL; pthread_mutex_unlock(&proto_file_lock);