21 |
/* unt[ag] [msglist] */ |
/* unt[ag] [msglist] */ |
22 |
|
|
23 |
static int |
static int |
24 |
tag_message (message_t mesg, msgset_t *msgset, void *arg) |
tag_message (message_t mesg, msgset_t *msgset ARG_UNUSED, void *arg) |
25 |
{ |
{ |
26 |
attribute_t attr; |
attribute_t attr; |
27 |
int *action = arg; |
int *action = arg; |
28 |
|
|
|
(void)msgset; |
|
29 |
message_get_attribute (mesg, &attr); |
message_get_attribute (mesg, &attr); |
30 |
if (*action) |
if (*action) |
31 |
attribute_set_userflag (attr, MAIL_ATTRIBUTE_TAGGED); |
attribute_set_userflag (attr, MAIL_ATTRIBUTE_TAGGED); |