[dovecot-cvs] dovecot/src/lib-index mail-index-lock.c, 1.33, 1.34 mail-transaction-log.c, 1.63, 1.64

cras at dovecot.org cras at dovecot.org
Mon Oct 11 01:58:04 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv16203

Modified Files:
	mail-index-lock.c mail-transaction-log.c 
Log Message:
typofixes



Index: mail-index-lock.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-lock.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- mail-index-lock.c	10 Oct 2004 17:25:44 -0000	1.33
+++ mail-index-lock.c	10 Oct 2004 22:58:00 -0000	1.34
@@ -170,7 +170,7 @@
 	if (ret > 0)
 		return 1;
 
-	if (index->lock_type == MAIL_INDEX_LOCK_DOTLOCK) {
+	if (index->lock_method == MAIL_INDEX_LOCK_DOTLOCK) {
 		/* FIXME: exclusive locking will rewrite the index file every
 		   time. shouldn't really be needed.. reading doesn't require
 		   locks then, though */

Index: mail-transaction-log.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-transaction-log.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- mail-transaction-log.c	10 Oct 2004 17:25:44 -0000	1.63
+++ mail-transaction-log.c	10 Oct 2004 22:58:00 -0000	1.64
@@ -128,7 +128,7 @@
 	if (file->locked)
 		return 0;
 
-	if (file->log->index->lock_type == MAIL_INDEX_LOCK_DOTLOCK)
+	if (file->log->index->lock_method == MAIL_INDEX_LOCK_DOTLOCK)
 		return mail_transaction_log_file_dotlock(file);
 
 	ret = mail_index_lock_fd(file->log->index, file->fd, F_WRLCK,



More information about the dovecot-cvs mailing list