SMTP-Client: another possible NULL-Pointer access.
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 26 May 2012 10:48:17 +0000 (12:48 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 26 May 2012 10:48:17 +0000 (12:48 +0200)
citadel/modules/smtp/serv_smtpeventclient.c

index f08efde76e61ce1419281bf33267167ccaddf67c..5cf7e7e4a748b4c032313118d00f763d808c2a28 100644 (file)
@@ -608,7 +608,7 @@ void smtp_try_one_queue_entry(OneQueItem *MyQItem,
        }
        else {
                /* No recipients? well fail then. */
-               if (Msg->MyQEntry == NULL) {
+               if (Msg->MyQEntry != NULL) {
                        Msg->MyQEntry->Status = 5;
                        StrBufPlain(Msg->MyQEntry->StatusMessage,
                                    HKEY("Invalid Recipient!"));