diff options
author | jbj <devnull@localhost> | 2001-09-21 15:07:11 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-09-21 15:07:11 +0000 |
commit | 1eef0782f60f9d8d80be273ace982ad4c2a56d98 (patch) | |
tree | ca6f47772d1cfa3b9900cf93ae515f1c5a31a4cd /rpmio/url.c | |
parent | 59a045374df64f3bc62eb200f7d11338ea2787a8 (diff) | |
download | librpm-tizen-1eef0782f60f9d8d80be273ace982ad4c2a56d98.tar.gz librpm-tizen-1eef0782f60f9d8d80be273ace982ad4c2a56d98.tar.bz2 librpm-tizen-1eef0782f60f9d8d80be273ace982ad4c2a56d98.zip |
- lclint-3.0.0.15 fiddles.
CVS patchset: 5067
CVS date: 2001/09/21 15:07:11
Diffstat (limited to 'rpmio/url.c')
-rw-r--r-- | rpmio/url.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmio/url.c b/rpmio/url.c index d7d040b74..3e6c0aa05 100644 --- a/rpmio/url.c +++ b/rpmio/url.c @@ -442,7 +442,9 @@ int urlSplit(const char * url, urlinfo *uret) if (u->port < 0 && u->service != NULL) { struct servent *serv; - serv = /*@-unrecog@*/ getservbyname(u->service, "tcp") /*@=unrecog@*/; + /*@-unrecog -multithreaded @*/ + serv = getservbyname(u->service, "tcp"); + /*@=unrecog =multithreaded @*/ if (serv != NULL) u->port = ntohs(serv->s_port); else if (u->urltype == URL_IS_FTP) |