mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
Fix PellesC warning.
This commit is contained in:
parent
f1f32477e3
commit
5f487123df
@ -50,7 +50,7 @@ int ares__read_line(FILE *fp, char **buf, int *bufsize)
|
||||
if ((*buf)[len - 1] == '\n')
|
||||
{
|
||||
(*buf)[len - 1] = 0;
|
||||
return ARES_SUCCESS;
|
||||
break;
|
||||
}
|
||||
offset = len;
|
||||
|
||||
@ -61,4 +61,5 @@ int ares__read_line(FILE *fp, char **buf, int *bufsize)
|
||||
*buf = newbuf;
|
||||
*bufsize *= 2;
|
||||
}
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user