36 |
node->server[0] = node->username[0] = node->password[0] = 0; |
node->server[0] = node->username[0] = node->password[0] = 0; |
37 |
node->passwdattr = PASSWORD_NONE; |
node->passwdattr = PASSWORD_NONE; |
38 |
node->port = 143; |
node->port = 143; |
|
#ifdef SSL_TLS |
|
39 |
node->ssl = SSL_DISABLED; |
node->ssl = SSL_DISABLED; |
|
#endif |
|
40 |
node->mboxes = NULL; |
node->mboxes = NULL; |
41 |
} |
} |
42 |
|
|
110 |
printf("debug: PORT: %d\n", node->port); |
printf("debug: PORT: %d\n", node->port); |
111 |
#endif |
#endif |
112 |
} |
} |
|
#ifdef SSL_TLS |
|
113 |
if (match[7].rm_so != -1) { |
if (match[7].rm_so != -1) { |
114 |
if (match[6].rm_so == -1) |
if (match[6].rm_so == -1) |
115 |
node->port = 993; |
node->port = 993; |
121 |
else |
else |
122 |
node->ssl = SSL_SSL_V2; |
node->ssl = SSL_SSL_V2; |
123 |
} |
} |
|
#endif |
|
124 |
append_account(node); |
append_account(node); |
125 |
cur_acct = node; |
cur_acct = node; |
126 |
|
|