home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made sure client is not confused by newlines at the end of config files.
[plomrogue]
/
src
/
client
/
windows.c
diff --git
a/src/client/windows.c
b/src/client/windows.c
index e5c691d5c1e4305197487bb40ed871e17f29f666..2fd51313405e1c4d9ebedaa33ff1273e4947be4a 100644
(file)
--- a/
src/client/windows.c
+++ b/
src/client/windows.c
@@
-625,7
+625,7
@@
extern uint8_t read_winconf_from_file(char * line, uint32_t linemax,
{
char * f_name = "read_winconf_from_file()";
int test = try_fgetc(file, f_name);
- if (EOF == test)
+ if (EOF == test
|| '\n' == test
)
{
return 0;
}