dovecot-1.2: maildir: get_save_date() should return 0, not the t...

dovecot at dovecot.org dovecot at dovecot.org
Mon Mar 22 02:16:50 EET 2010


details:   http://hg.dovecot.org/dovecot-1.2/rev/59591ed04610
changeset: 9554:59591ed04610
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 22 02:16:48 2010 +0200
description:
maildir: get_save_date() should return 0, not the timestamp.
Patch by Rainer Weikusat

diffstat:

 src/lib-storage/index/maildir/maildir-mail.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0b8696047804 -r 59591ed04610 src/lib-storage/index/maildir/maildir-mail.c
--- a/src/lib-storage/index/maildir/maildir-mail.c	Mon Mar 08 19:31:54 2010 +0200
+++ b/src/lib-storage/index/maildir/maildir-mail.c	Mon Mar 22 02:16:48 2010 +0200
@@ -154,7 +154,7 @@
 		return -1;
 
 	*date_r = data->save_date = st.st_ctime;
-	return data->save_date;
+	return 0;
 }
 
 static int


More information about the dovecot-cvs mailing list