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 |
|
|
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++) |
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 |
|
|