Commit da989d0c da989d0c7b5d91b71be4330e12aee03434600891 by Wojciech Polak

(pop_get_message): Check UIDL capability before using pop_uidl().

1 parent 06cd0bce
...@@ -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);
......