fixed: the fgets replacement did not work properly
This commit is contained in:
parent
66ae1083a8
commit
10157af05f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue