/[imapfilter]/imapfilter/data.c
ViewVC logotype

Diff of /imapfilter/data.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by lefcha, Thu Jan 31 17:06:38 2002 UTC revision 1.24 by lefcha, Fri Feb 8 22:15:43 2002 UTC
# Line 36  void init_account(account_t * node) Line 36  void init_account(account_t * node)
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    
# Line 112  int set_account(char *line, regmatch_t * Line 110  int set_account(char *line, regmatch_t *
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;
# Line 124  int set_account(char *line, regmatch_t * Line 121  int set_account(char *line, regmatch_t *
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    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26