Skip to content
Snippets Groups Projects
Commit 8f0abd31 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Use Curl_transfer() properly. Fixes the bug Gisle Vanem found!

parent a13f85fb
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment