version 1.3, 2013/05/30 09:12:27
|
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, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 | 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; |