From 8f0abd31c5f3e21c15bfac529f362fc9d7c8e279 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 10 Dec 2003 15:27:59 +0000 Subject: Use Curl_transfer() properly. Fixes the bug Gisle Vanem found! --- lib/dict.c | 6 +++--- 1 file 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; -- cgit v1.2.3