aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-10 15:27:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-10 15:27:59 +0000
commit8f0abd31c5f3e21c15bfac529f362fc9d7c8e279 (patch)
tree8d05d64707ab6871f36ca941c9c74213f48b77da
parenta13f85fb337b0791345079cbcad55fdc7b6b10b0 (diff)
Use Curl_transfer() properly. Fixes the bug Gisle Vanem found!
-rw-r--r--lib/dict.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dict.c b/lib/dict.c
index 86c864cf5..e9308ae8d 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -150,7 +150,7 @@ CURLcode Curl_dict(struct connectdata *conn)
if(result)
failf(data, "Failed sending DICT request");
else
- result = Curl_Transfer(conn, sockfd, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, FIRSTSOCKET, -1, FALSE, bytecount,
-1, NULL); /* no upload */
if(result)
return result;
@@ -196,7 +196,7 @@ CURLcode Curl_dict(struct connectdata *conn)
if(result)
failf(data, "Failed sending DICT request");
else
- result = Curl_Transfer(conn, sockfd, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, FIRSTSOCKET, -1, FALSE, bytecount,
-1, NULL); /* no upload */
if(result)
@@ -221,7 +221,7 @@ CURLcode Curl_dict(struct connectdata *conn)
if(result)
failf(data, "Failed sending DICT request");
else
- result = Curl_Transfer(conn, sockfd, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, FIRSTSOCKET, -1, FALSE, bytecount,
-1, NULL);
if(result)
return result;