dovecot-2.2: lib-fs: Fix to previous API change

dovecot at dovecot.org dovecot at dovecot.org
Tue Sep 18 05:12:38 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/04580a59dc53
changeset: 15086:04580a59dc53
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Sep 18 05:12:28 2012 +0300
description:
lib-fs: Fix to previous API change

diffstat:

 src/lib-fs/fs-api.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 8f4ce0932777 -r 04580a59dc53 src/lib-fs/fs-api.c
--- a/src/lib-fs/fs-api.c	Mon Sep 17 18:13:32 2012 +0300
+++ b/src/lib-fs/fs-api.c	Tue Sep 18 05:12:28 2012 +0300
@@ -14,7 +14,6 @@
 fs_alloc(const struct fs *fs_class, const char *args,
 	 const struct fs_settings *set, struct fs **fs_r, const char **error_r)
 {
-	struct fs *fs;
 	char *error_dup = NULL;
 	int ret;
 
@@ -33,7 +32,7 @@
 		i_free(error_dup);
 		return -1;
 	}
-	fs->last_error = str_new(default_pool, 64);
+	(*fs_r)->last_error = str_new(default_pool, 64);
 	return 0;
 }
 


More information about the dovecot-cvs mailing list