mirror of
https://github.com/curl/curl.git
synced 2026-08-26 03:53:32 +03:00
parent
46ef34c053
commit
25321de30e
41 changed files with 166 additions and 200 deletions
|
|
@ -187,7 +187,7 @@ static CURLcode gopher_do(struct Curl_easy *data, bool *done)
|
|||
if(strlen(sel) < 1)
|
||||
break;
|
||||
|
||||
result = Curl_xfer_send(data, sel, k, FALSE, &amount);
|
||||
result = Curl_xfer_send(data, sel, k, &amount);
|
||||
if(!result) { /* Which may not have written it all! */
|
||||
result = Curl_client_write(data, CLIENTWRITE_HEADER, sel, amount);
|
||||
if(result)
|
||||
|
|
@ -229,7 +229,7 @@ static CURLcode gopher_do(struct Curl_easy *data, bool *done)
|
|||
free(sel_org);
|
||||
|
||||
if(!result)
|
||||
result = Curl_xfer_send(data, "\r\n", 2, FALSE, &amount);
|
||||
result = Curl_xfer_send(data, "\r\n", 2, &amount);
|
||||
if(result) {
|
||||
failf(data, "Failed sending Gopher request");
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue