mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'sebastian/osxcompile'
This commit is contained in:
commit
b5edc838f2
@ -3894,7 +3894,9 @@ get_string_from_pipe(FILE *stream, char *buf_out, size_t count)
|
|||||||
char *retval;
|
char *retval;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
retval = fgets(buf_out, count, stream);
|
tor_assert(count <= INT_MAX);
|
||||||
|
|
||||||
|
retval = fgets(buf_out, (int)count, stream);
|
||||||
|
|
||||||
if (!retval) {
|
if (!retval) {
|
||||||
if (feof(stream)) {
|
if (feof(stream)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user