summaryrefslogtreecommitdiff
path: root/rpmio/url.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-09-21 15:07:11 +0000
committerjbj <devnull@localhost>2001-09-21 15:07:11 +0000
commit1eef0782f60f9d8d80be273ace982ad4c2a56d98 (patch)
treeca6f47772d1cfa3b9900cf93ae515f1c5a31a4cd /rpmio/url.c
parent59a045374df64f3bc62eb200f7d11338ea2787a8 (diff)
downloadlibrpm-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.c4
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)