12 |
#include "struct.h" |
#include "struct.h" |
13 |
|
|
14 |
|
|
15 |
|
extern opts_t opts; |
16 |
extern unsigned int flags; |
extern unsigned int flags; |
17 |
|
|
18 |
account_t *accounts = NULL; /* First node of accounts linked list. */ |
account_t *accounts = NULL; /* First node of accounts linked list. */ |
89 |
if (string_decode(node->password)) |
if (string_decode(node->password)) |
90 |
return ERROR_CONFIG_PARSE; |
return ERROR_CONFIG_PARSE; |
91 |
node->passwdattr = PASSWORD_PLAIN; |
node->passwdattr = PASSWORD_PLAIN; |
92 |
|
if (opts.debug == 1) |
93 |
|
debug("PASSWORD: *\n"); |
94 |
|
else |
95 |
|
debug("PASSWORD: '%s'\n", node->password); |
96 |
} else |
} else |
97 |
flags |= FLAG_BLANK_PASSWORD; |
flags |= FLAG_BLANK_PASSWORD; |
98 |
|
|
|
debug("PASSWORD: '%s'\n", node->password); |
|
|
|
|
99 |
strncat(node->server, line + m[6].rm_so, |
strncat(node->server, line + m[6].rm_so, |
100 |
min(m[6].rm_eo - m[6].rm_so, SERVER_LEN - 1)); |
min(m[6].rm_eo - m[6].rm_so, SERVER_LEN - 1)); |
101 |
|
|