fix compiler warning
This commit is contained in:
parent
68d83a8142
commit
2268657272
@ -957,13 +957,13 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
error = getpart(&buffer, &count, "reply", partbuf, stream);
|
||||
error = getpart(&ptr, &count, "reply", partbuf, stream);
|
||||
fclose(stream);
|
||||
if(error) {
|
||||
logmsg("getpart() failed with error: %d", error);
|
||||
return 0;
|
||||
}
|
||||
ptr = (char *)buffer;
|
||||
buffer = ptr;
|
||||
}
|
||||
|
||||
if(got_exit_signal) {
|
||||
|
Loading…
Reference in New Issue
Block a user