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

Diff of /imapfilter/account.c

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

revision 1.6 by lefcha, Mon Feb 9 17:34:56 2004 UTC revision 1.8 by lefcha, Wed Feb 11 00:03:46 2004 UTC
# Line 12  Line 12 
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. */
# Line 88  set_account(char *line, regmatch_t * m) Line 89  set_account(char *line, regmatch_t * m)
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    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26