mirror of https://github.com/moparisthebest/curl
fixed a warning on IRIX, deleted trailing whitespace
This commit is contained in:
parent
512e54ff85
commit
6176f14141
|
@ -311,7 +311,7 @@ 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,
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue