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