mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
fixed a warning on IRIX, deleted trailing whitespace
This commit is contained in:
parent
512e54ff85
commit
6176f14141
@ -311,8 +311,8 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
||||
if (k->hbuflen + nread >= data->state.headersize) {
|
||||
/* We enlarge the header buffer as it is too small */
|
||||
char *newbuff;
|
||||
long newsize=CURLMAX((k->hbuflen+nread)*3/2,
|
||||
data->state.headersize*2);
|
||||
size_t newsize=CURLMAX((k->hbuflen+nread)*3/2,
|
||||
data->state.headersize*2);
|
||||
hbufp_index = k->hbufp - data->state.headerbuff;
|
||||
newbuff = (char *)realloc(data->state.headerbuff, newsize);
|
||||
if(!newbuff) {
|
||||
@ -1977,7 +1977,7 @@ CURLcode Curl_perform(struct SessionHandle *data)
|
||||
free(gotourl);
|
||||
}
|
||||
}
|
||||
} while (urlchanged && res == CURLE_OK) ;
|
||||
} while (urlchanged && res == CURLE_OK);
|
||||
|
||||
if(res == CURLE_OK) {
|
||||
res = Curl_do(&conn);
|
||||
|
Loading…
Reference in New Issue
Block a user