(pop_get_message): Check UIDL capability before using pop_uidl().
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -990,7 +990,8 @@ pop_get_message (mailbox_t mbox, size_t msgno, message_t *pmsg) | ... | @@ -990,7 +990,8 @@ pop_get_message (mailbox_t mbox, size_t msgno, message_t *pmsg) |
990 | } | 990 | } |
991 | 991 | ||
992 | /* Set the UIDL call on the message. */ | 992 | /* Set the UIDL call on the message. */ |
993 | message_set_uidl (msg, pop_uidl, mpm); | 993 | if (mpd->capa & CAPA_UIDL) |
994 | message_set_uidl (msg, pop_uidl, mpm); | ||
994 | 995 | ||
995 | /* Set the UID on the message. */ | 996 | /* Set the UID on the message. */ |
996 | message_set_uid (msg, pop_uid, mpm); | 997 | message_set_uid (msg, pop_uid, mpm); | ... | ... |
-
Please register or sign in to post a comment