version 1.4, 2014/01/29 23:48:34
|
version 1.5, 2022/12/05 22:31:12
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004 - 2014 | Copyright 2004 - 2022 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 94 cfgReadPasswd(FILE *f, pwd_root_t * __restrict pwd)
|
Line 94 cfgReadPasswd(FILE *f, pwd_root_t * __restrict pwd)
|
|
|
while (!feof(f)) { |
while (!feof(f)) { |
memset(line, 0, sizeof line); |
memset(line, 0, sizeof line); |
fgets(line, sizeof line - 1, f); | if (!fgets(line, sizeof(line) - 1, f)) |
| break; |
if (!(pos = strpbrk(line, "\r\n"))) { |
if (!(pos = strpbrk(line, "\r\n"))) { |
/* skip line, too long */ |
/* skip line, too long */ |
continue; |
continue; |