dovecot-2.0: lib-index: Crashfix on error handling.
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Mon Apr  5 01:08:37 EEST 2010
    
    
  
details:   http://hg.dovecot.org/dovecot-2.0/rev/c88e1b2658a8
changeset: 11040:c88e1b2658a8
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Apr 05 01:08:31 2010 +0300
description:
lib-index: Crashfix on error handling.
diffstat:
 src/lib-index/mail-transaction-log.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 0f98525e4567 -r c88e1b2658a8 src/lib-index/mail-transaction-log.c
--- a/src/lib-index/mail-transaction-log.c	Mon Apr 05 01:06:02 2010 +0300
+++ b/src/lib-index/mail-transaction-log.c	Mon Apr 05 01:08:31 2010 +0300
@@ -261,7 +261,7 @@
                    problems in here. */
 		if (fstat(log->head->fd, &st) < 0) {
 			mail_index_file_set_syscall_error(log->index,
-				file->filepath, "fstat()");
+				log->head->filepath, "fstat()");
 			return -1;
 		}
 
    
    
More information about the dovecot-cvs
mailing list