]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
maildir: Error message fix.
authorTimo Sirainen <tss@iki.fi>
Wed, 8 Jul 2009 21:57:10 +0000 (17:57 -0400)
committerTimo Sirainen <tss@iki.fi>
Wed, 8 Jul 2009 21:57:10 +0000 (17:57 -0400)
--HG--
branch : HEAD

src/lib-storage/index/maildir/maildir-save.c

index a489f4e81e60dda2a2136953b734c7d02cd187a4..56e01ca9f651a67a1ffda6078cbe6999edd8d5ed 100644 (file)
@@ -544,8 +544,7 @@ static int maildir_save_finish_real(struct mail_save_context *_ctx)
                                MAIL_ERROR_NOSPACE, MAIL_ERRSTR_NO_SPACE);
                } else if (errno != 0) {
                        mail_storage_set_critical(storage,
-                               "write(%s) failed: %m",
-                               ctx->mbox->ibox.box.path);
+                               "write(%s) failed: %m", path);
                }
 
                /* remove from the linked list */