Compiler warning fix

This commit is contained in:
Yang Tse 2006-10-15 23:13:12 +00:00
parent 2260c8aa11
commit 10d1fc0e73

View File

@ -850,7 +850,7 @@ CURLcode add_buffer_send(send_buffer *in,
struct connectdata *conn, struct connectdata *conn,
long *bytes_written, /* add the number of sent long *bytes_written, /* add the number of sent
bytes to this counter */ bytes to this counter */
int included_body_bytes, /* how much of the buffer long included_body_bytes, /* how much of the buffer
contains body data (for log tracing) */ contains body data (for log tracing) */
int socketindex) int socketindex)
@ -1603,7 +1603,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
char *request; char *request;
Curl_HttpReq httpreq = data->set.httpreq; Curl_HttpReq httpreq = data->set.httpreq;
char *addcookies = NULL; char *addcookies = NULL;
int included_body = 0; long included_body = 0;
/* Always consider the DO phase done after this function call, even if there /* Always consider the DO phase done after this function call, even if there
may be parts of the request that is not yet sent, since we can deal with may be parts of the request that is not yet sent, since we can deal with