mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 11:17:37 +01:00
fgetln: Fix coding style
This commit is contained in:
parent
47109e39d5
commit
fafffd1f7e
@ -41,8 +41,8 @@ fgetln (FILE *stream, size_t *len)
|
||||
if (nread == -1)
|
||||
return NULL;
|
||||
|
||||
(*len)--; /* get rid of the trailing \0, fgetln
|
||||
does not have it */
|
||||
/* Get rid of the trailing \0, fgetln does not have it. */
|
||||
(*len)--;
|
||||
|
||||
return line;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user