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

Diff of /imapfilter/data.c

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

revision 1.16 by lefcha, Fri Nov 9 15:50:30 2001 UTC revision 1.17 by lefcha, Sat Nov 10 15:30:08 2001 UTC
# Line 389  void append_mask(mask_t * node) Line 389  void append_mask(mask_t * node)
389   */   */
390  int set_mask(char *line, regmatch_t * match)  int set_mask(char *line, regmatch_t * match)
391  {  {
392      int n, i;      int n, i, f = 0;
     short f = 0;  
393      mask_t *node;      mask_t *node;
394      char *bp;      char *bp;
395    
# Line 556  int set_job(char *line, regmatch_t * mat Line 555  int set_job(char *line, regmatch_t * mat
555   */   */
556  void link_mbox_filter(filter_t * cf, mboxgrp_t * cg)  void link_mbox_filter(filter_t * cf, mboxgrp_t * cg)
557  {  {
558      int i, j;      int i, j, f;
     short f;  
559    
560      for (i = 0; cg->mboxes[i]; i++) {      for (i = 0; cg->mboxes[i]; i++) {
561          for (f = j = 0; cg->mboxes[i]->filters[j]; j++)          for (f = j = 0; cg->mboxes[i]->filters[j]; j++)
# Line 611  void destroy_mboxgrp(mboxgrp_t * node) Line 609  void destroy_mboxgrp(mboxgrp_t * node)
609    
610    
611  /*  /*
612   * Overwrite the memory space that contains the user's password.   * Overwrite the memory space that contains the user's passwords.
613   */   */
614  void overwrite_password(char *passwd)  void overwrite_passwords(void)
615  {  {
616      memset(passwd, 0, PASSWORD_LEN);      account_t *a;
617    
618        for (a = accounts; a; a = a->next)
619            memset(a->password, 0, PASSWORD_LEN);
620  }  }
621    
622    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26