projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab31cfa
)
Undo last 'fix', since it was not the proper one.
author
Yang Tse
<yangsita@gmail.com>
Tue, 13 Dec 2005 13:50:22 +0000
(13:50 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Tue, 13 Dec 2005 13:50:22 +0000
(13:50 +0000)
lib/hostip6.c
patch
|
blob
|
history
diff --git
a/lib/hostip6.c
b/lib/hostip6.c
index
6bdf179
..
ae36ad7
100644
(file)
--- a/
lib/hostip6.c
+++ b/
lib/hostip6.c
@@
-143,9
+143,10
@@
int curl_dogetnameinfo(const struct sockaddr *sa, socklen_t salen,
char *serv, size_t servlen, int flags,
int line, const char *source)
{
- int res = (getnameinfo)(sa, (size_t)salen,
- host, hostlen, serv, servlen,
- (unsigned int)flags);
+ int res = (getnameinfo)(sa, salen,
+ host, hostlen,
+ serv, servlen,
+ flags);
if(0 == res) {
/* success */
if(logfile)