31 |
return util_msglist_command (mail_mbox, argc, argv, 1); |
return util_msglist_command (mail_mbox, argc, argv, 1); |
32 |
else |
else |
33 |
{ |
{ |
34 |
if (mailbox_get_message (mbox, cursor, &msg)) |
if (util_get_message (mbox, cursor, &msg, 1)) |
35 |
{ |
return 1; |
36 |
util_error("%d: can't get message", cursor); |
|
|
return 1; |
|
|
} |
|
37 |
/* Mark the message */ |
/* Mark the message */ |
38 |
message_get_attribute (msg, &attr); |
message_get_attribute (msg, &attr); |
39 |
attribute_set_userflag (attr, MAIL_ATTRIBUTE_MBOXED); |
attribute_set_userflag (attr, MAIL_ATTRIBUTE_MBOXED); |