[dovecot-cvs] dovecot/src/lib-index/maildir maildir-build.c,1.15,1.16
cras at procontrol.fi
cras at procontrol.fi
Mon Oct 28 11:40:17 EET 2002
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-data.c,1.27,1.28 mail-index-util.h,1.6,1.7 mail-index.c,1.64,1.65 mail-modifylog.c,1.32,1.33 mail-tree.c,1.7,1.8
- Next message: [dovecot-cvs] dovecot acconfig.h,1.10,1.11 configure.in,1.39,1.40
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-index/maildir
In directory danu:/tmp/cvs-serv13406
Modified Files:
maildir-build.c
Log Message:
path parameter wasn't used
Index: maildir-build.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/maildir/maildir-build.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- maildir-build.c 28 Oct 2002 08:32:30 -0000 1.15
+++ maildir-build.c 28 Oct 2002 09:40:15 -0000 1.16
@@ -11,8 +11,7 @@
#include <dirent.h>
#include <sys/stat.h>
-static int maildir_index_append_fd(MailIndex *index, int fd, const char *path,
- const char *fname)
+static int maildir_index_append_fd(MailIndex *index, int fd, const char *fname)
{
MailIndexRecord *rec;
MailIndexUpdate *update;
@@ -21,7 +20,6 @@
const char *p;
int failed;
- i_assert(path != NULL);
i_assert(fname != NULL);
if (!index->set_lock(index, MAIL_LOCK_EXCLUSIVE))
@@ -96,7 +94,7 @@
return index_file_set_syscall_error(index, path, "open()");
}
- ret = maildir_index_append_fd(index, fd, path, fname);
+ ret = maildir_index_append_fd(index, fd, fname);
if (close(fd) < 0)
return index_file_set_syscall_error(index, path, "close()");
return ret;
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-data.c,1.27,1.28 mail-index-util.h,1.6,1.7 mail-index.c,1.64,1.65 mail-modifylog.c,1.32,1.33 mail-tree.c,1.7,1.8
- Next message: [dovecot-cvs] dovecot acconfig.h,1.10,1.11 configure.in,1.39,1.40
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list