projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rewrite the regex pattern parser in regcomp
[musl]
/
src
/
network
/
lookup_serv.c
diff --git
a/src/network/lookup_serv.c
b/src/network/lookup_serv.c
index
bf4cba0
..
a9be0f3
100644
(file)
--- a/
src/network/lookup_serv.c
+++ b/
src/network/lookup_serv.c
@@
-52,7
+52,6
@@
int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int pro
/* Skip past canonical name at beginning of line */
for (p=line; *p && !isspace(*p); p++);
- if (!p) continue;
port = strtoul(p, &z, 10);
if (port > 65535 || z==p) continue;