[dovecot-cvs] dovecot/src/lib-index mail-transaction-log.c, 1.22,
1.23
cras at procontrol.fi
cras at procontrol.fi
Tue May 11 00:33:51 EEST 2004
Update of /home/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv15155/lib-index
Modified Files:
mail-transaction-log.c
Log Message:
fix
Index: mail-transaction-log.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-transaction-log.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- mail-transaction-log.c 10 May 2004 21:09:15 -0000 1.22
+++ mail-transaction-log.c 10 May 2004 21:33:49 -0000 1.23
@@ -363,7 +363,7 @@
/* same file, still broken */
} else {
(void)file_dotlock_delete(path, LOG_NEW_DOTLOCK_SUFFIX,
- fd2);
+ fd);
return fd2;
}
@@ -423,7 +423,7 @@
int ret;
if (fstat(fd, &st) < 0) {
- mail_index_file_set_syscall_error(log->index, path, "stat()");
+ mail_index_file_set_syscall_error(log->index, path, "fstat()");
return NULL;
}
@@ -445,7 +445,7 @@
ret = -1;
else if (fstat(fd, &st) < 0) {
mail_index_file_set_syscall_error(log->index, path,
- "stat()");
+ "fstat()");
(void)close(fd);
fd = -1;
ret = -1;
More information about the dovecot-cvs
mailing list