]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: If lmtp_save_to_detail_mailbox=yes and there was no detail, mail was logged...
authorTimo Sirainen <tss@iki.fi>
Thu, 8 Dec 2011 03:17:01 +0000 (05:17 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 8 Dec 2011 03:17:01 +0000 (05:17 +0200)
src/lmtp/commands.c

index 916eb8d00c1e8c95a53a546a4d680df92f5cbdd9..0c804033f96ccf98b22d5731c2e462e667f6c366 100644 (file)
@@ -519,7 +519,7 @@ client_deliver(struct client *client, const struct mail_recipient *rcpt,
        if (dctx.dest_addr == NULL)
                dctx.dest_addr = rcpt->address;
        dctx.final_dest_addr = rcpt->address;
-       if (rcpt->detail == '\0' ||
+       if (*rcpt->detail == '\0' ||
            !client->lmtp_set->lmtp_save_to_detail_mailbox)
                dctx.dest_mailbox_name = "INBOX";
        else {