* mailbox/pop3d/uidl.c : API change the call is message_get_uidl()
to have UIDL POP3.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -42,7 +42,7 @@ pop3_uidl (const char *arg) | ... | @@ -42,7 +42,7 @@ pop3_uidl (const char *arg) |
42 | message_get_attribute (msg, &attr); | 42 | message_get_attribute (msg, &attr); |
43 | if (!attribute_is_deleted (attr)) | 43 | if (!attribute_is_deleted (attr)) |
44 | { | 44 | { |
45 | message_get_uid (msg, uidl, sizeof (uidl), NULL); | 45 | message_get_uidl (msg, uidl, sizeof (uidl), NULL); |
46 | fprintf (ofile, "%d %s\r\n", mesgno, uidl); | 46 | fprintf (ofile, "%d %s\r\n", mesgno, uidl); |
47 | } | 47 | } |
48 | } | 48 | } |
... | @@ -56,7 +56,7 @@ pop3_uidl (const char *arg) | ... | @@ -56,7 +56,7 @@ pop3_uidl (const char *arg) |
56 | message_get_attribute (msg, &attr); | 56 | message_get_attribute (msg, &attr); |
57 | if (attribute_is_deleted (attr)) | 57 | if (attribute_is_deleted (attr)) |
58 | return ERR_MESG_DELE; | 58 | return ERR_MESG_DELE; |
59 | message_get_uid (msg, uidl, sizeof (uidl), NULL); | 59 | message_get_uidl (msg, uidl, sizeof (uidl), NULL); |
60 | fprintf (ofile, "+OK %d %s\r\n", mesgno, uidl); | 60 | fprintf (ofile, "+OK %d %s\r\n", mesgno, uidl); |
61 | } | 61 | } |
62 | 62 | ... | ... |
-
Please register or sign in to post a comment