dovecot-2.2: Typofix: s/TRANSCATION/TRANSACTION/

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 3 04:02:20 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/ee0cf9c67571
changeset: 15182:ee0cf9c67571
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 03 04:01:59 2012 +0300
description:
Typofix: s/TRANSCATION/TRANSACTION/

diffstat:

 src/lib-index/mail-transaction-log-file.c    |  4 ++--
 src/lib-index/mail-transaction-log-private.h |  4 ++--
 src/lib-index/mail-transaction-log.c         |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r 3e3ac2c16fa4 -r ee0cf9c67571 src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c	Wed Sep 19 03:13:39 2012 +0200
+++ b/src/lib-index/mail-transaction-log-file.c	Wed Oct 03 04:01:59 2012 +0300
@@ -349,7 +349,7 @@
 		return mail_transaction_log_file_dotlock(file);
 
 	i_assert(file->file_lock == NULL);
-	lock_timeout_secs = I_MIN(MAIL_TRANSCATION_LOG_LOCK_TIMEOUT,
+	lock_timeout_secs = I_MIN(MAIL_TRANSACTION_LOG_LOCK_TIMEOUT,
 				  file->log->index->max_lock_timeout_secs);
 	ret = mail_index_lock_fd(file->log->index, file->filepath, file->fd,
 				 F_WRLCK, lock_timeout_secs,
@@ -386,7 +386,7 @@
 		return;
 
 	lock_time = time(NULL) - file->lock_created;
-	if (lock_time >= MAIL_TRANSCATION_LOG_LOCK_TIMEOUT) {
+	if (lock_time >= MAIL_TRANSACTION_LOG_LOCK_TIMEOUT) {
 		i_warning("Transaction log file %s was locked for %u seconds",
 			  file->filepath, lock_time);
 	}
diff -r 3e3ac2c16fa4 -r ee0cf9c67571 src/lib-index/mail-transaction-log-private.h
--- a/src/lib-index/mail-transaction-log-private.h	Wed Sep 19 03:13:39 2012 +0200
+++ b/src/lib-index/mail-transaction-log-private.h	Wed Oct 03 04:01:59 2012 +0300
@@ -8,8 +8,8 @@
 
 /* Synchronization can take a while sometimes, especially when copying lots of
    mails. */
-#define MAIL_TRANSCATION_LOG_LOCK_TIMEOUT (3*60)
-#define MAIL_TRANSCATION_LOG_LOCK_CHANGE_TIMEOUT (3*60)
+#define MAIL_TRANSACTION_LOG_LOCK_TIMEOUT (3*60)
+#define MAIL_TRANSACTION_LOG_LOCK_CHANGE_TIMEOUT (3*60)
 
 /* Rotate when log is older than ROTATE_TIME and larger than MIN_SIZE */
 #define MAIL_TRANSACTION_LOG_ROTATE_MIN_SIZE (1024*32)
diff -r 3e3ac2c16fa4 -r ee0cf9c67571 src/lib-index/mail-transaction-log.c
--- a/src/lib-index/mail-transaction-log.c	Wed Sep 19 03:13:39 2012 +0200
+++ b/src/lib-index/mail-transaction-log.c	Wed Oct 03 04:01:59 2012 +0300
@@ -556,9 +556,9 @@
 	struct mail_index *index = log->index;
 
 	memset(set_r, 0, sizeof(*set_r));
-	set_r->timeout = I_MIN(MAIL_TRANSCATION_LOG_LOCK_TIMEOUT,
+	set_r->timeout = I_MIN(MAIL_TRANSACTION_LOG_LOCK_TIMEOUT,
 			       index->max_lock_timeout_secs);
-	set_r->stale_timeout = MAIL_TRANSCATION_LOG_LOCK_CHANGE_TIMEOUT;
+	set_r->stale_timeout = MAIL_TRANSACTION_LOG_LOCK_CHANGE_TIMEOUT;
 	set_r->nfs_flush = (index->flags & MAIL_INDEX_OPEN_FLAG_NFS_FLUSH) != 0;
 	set_r->use_excl_lock =
 		(index->flags & MAIL_INDEX_OPEN_FLAG_DOTLOCK_USE_EXCL) != 0;


More information about the dovecot-cvs mailing list