fixed: the fgets replacement did not work properly
This commit is contained in:
parent
66ae1083a8
commit
10157af05f
|
@ -147,7 +147,7 @@ fgets(buf, count, fd)
|
|||
}
|
||||
*c = *pbf++;
|
||||
if (*c++ == '\n') {
|
||||
*--c = 0;
|
||||
*c = 0;
|
||||
return buf;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue