Browse Source
If fgets succeeds, then the resulting char array is always terminated by a '\0'. No need to keep extra space, therefore sizeof(buf) is the correct argument. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>master
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue