mirror of
https://github.com/sheumann/hush.git
synced 2024-10-03 15:55:01 +00:00
- whitespace cleanup and add a possible shrinkage suggestion
This commit is contained in:
parent
7fd00cbff7
commit
d818dcc72a
@ -879,6 +879,7 @@ static void parse_inittab(void)
|
||||
continue;
|
||||
|
||||
/* Trim the trailing \n */
|
||||
//XXX: chomp() ?
|
||||
eol = strrchr(id, '\n');
|
||||
if (eol != NULL)
|
||||
*eol = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user