/[mailutils]/mailutils/mail/undelete.c
ViewVC logotype

Diff of /mailutils/mail/undelete.c

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

revision 1.5 by gray, Sat Jun 30 09:33:34 2001 UTC revision 1.6 by gray, Sun Oct 13 20:36:35 2002 UTC
# Line 30  mail_undelete (int argc, char **argv) Line 30  mail_undelete (int argc, char **argv)
30      {      {
31        message_t msg;        message_t msg;
32        attribute_t attr;        attribute_t attr;
33        if (mailbox_get_message (mbox, cursor, &msg) != 0)        if (util_get_message (mbox, cursor, &msg, 0))
34          {          return 1;
35            util_error("Message %d does not exist", cursor);  
           return 1;  
         }  
36        message_get_attribute (msg, &attr);        message_get_attribute (msg, &attr);
37        if (attribute_is_deleted (attr))        if (attribute_is_deleted (attr))
38          attribute_unset_deleted (attr);          attribute_unset_deleted (attr);

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

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26