fixed: the fgets replacement did not work properly
This commit is contained in:
parent
a304524caa
commit
93b5b5b7d7
@ -147,7 +147,7 @@ fgets(buf, count, fd)
|
|||||||
}
|
}
|
||||||
*c = *pbf++;
|
*c = *pbf++;
|
||||||
if (*c++ == '\n') {
|
if (*c++ == '\n') {
|
||||||
*--c = 0;
|
*c = 0;
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user