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:
4aac210
)
corrected mistake
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 26 Apr 2004 15:11:56 +0000
(15:11 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 26 Apr 2004 15:11:56 +0000
(15:11 +0000)
lib/hostip6.c
patch
|
blob
|
history
diff --git
a/lib/hostip6.c
b/lib/hostip6.c
index
8ddcd84
..
8b3f611
100644
(file)
--- a/
lib/hostip6.c
+++ b/
lib/hostip6.c
@@
-204,7
+204,7
@@
bool Curl_ipvalid(struct SessionHandle *data)
if(data->set.ip_version == CURL_IPRESOLVE_V6) {
/* see if we have an IPv6 stack */
curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0);
- if (s
!
= CURL_SOCKET_BAD)
+ if (s
=
= CURL_SOCKET_BAD)
/* an ipv6 address was requested and we can't get/use one */
return FALSE;
sclose(s);