/[mailutils]/mailutils/pop3d/uidl.c
ViewVC logotype

Diff of /mailutils/pop3d/uidl.c

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

revision 1.11 by alainm, Thu Oct 9 23:46:45 2003 UTC revision 1.12 by gray, Fri Oct 10 08:57:37 2003 UTC
# Line 40  pop3d_uidl (const char *arg) Line 40  pop3d_uidl (const char *arg)
40          {          {
41            mailbox_get_message (mbox, mesgno, &msg);            mailbox_get_message (mbox, mesgno, &msg);
42            message_get_attribute (msg, &attr);            message_get_attribute (msg, &attr);
43            if (!attribute_is_userflag (attr, POP3_ATTRIBUTE_DELE))            if (!pop3d_is_deleted (attr))
44              {              {
45                message_get_uidl (msg, uidl, sizeof (uidl), NULL);                message_get_uidl (msg, uidl, sizeof (uidl), NULL);
46                pop3d_outf ("%d %s\r\n", mesgno, uidl);                pop3d_outf ("%d %s\r\n", mesgno, uidl);
# Line 54  pop3d_uidl (const char *arg) Line 54  pop3d_uidl (const char *arg)
54        if (mailbox_get_message (mbox, mesgno, &msg) != 0)        if (mailbox_get_message (mbox, mesgno, &msg) != 0)
55          return ERR_NO_MESG;          return ERR_NO_MESG;
56        message_get_attribute (msg, &attr);        message_get_attribute (msg, &attr);
57        if (attribute_is_userflag (attr, POP3_ATTRIBUTE_DELE))        if (pop3d_is_deleted (attr))
58          return ERR_MESG_DELE;          return ERR_MESG_DELE;
59        message_get_uidl (msg, uidl, sizeof (uidl), NULL);        message_get_uidl (msg, uidl, sizeof (uidl), NULL);
60        pop3d_outf ("+OK %d %s\r\n", mesgno, uidl);        pop3d_outf ("+OK %d %s\r\n", mesgno, uidl);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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