dovecot-2.2: Minor code cleanup.

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 27 10:36:14 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/31119136ee6e
changeset: 14221:31119136ee6e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 27 10:36:09 2012 +0200
description:
Minor code cleanup.

diffstat:

 src/plugins/imap-acl/imap-acl-plugin.c     |  2 +-
 src/plugins/imap-quota/imap-quota-plugin.c |  2 +-
 src/plugins/imap-zlib/imap-zlib-plugin.c   |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 771fab474b1c -r 31119136ee6e src/plugins/imap-acl/imap-acl-plugin.c
--- a/src/plugins/imap-acl/imap-acl-plugin.c	Mon Feb 27 10:32:03 2012 +0200
+++ b/src/plugins/imap-acl/imap-acl-plugin.c	Mon Feb 27 10:36:09 2012 +0200
@@ -47,7 +47,7 @@
 const char *imap_acl_plugin_version = DOVECOT_VERSION;
 
 static struct module *imap_acl_module;
-static void (*next_hook_client_created)(struct client **client);
+static imap_client_created_func_t *next_hook_client_created;
 
 static struct mailbox *
 acl_mailbox_open_as_admin(struct client_command_context *cmd, const char *name)
diff -r 771fab474b1c -r 31119136ee6e src/plugins/imap-quota/imap-quota-plugin.c
--- a/src/plugins/imap-quota/imap-quota-plugin.c	Mon Feb 27 10:32:03 2012 +0200
+++ b/src/plugins/imap-quota/imap-quota-plugin.c	Mon Feb 27 10:36:09 2012 +0200
@@ -17,7 +17,7 @@
 const char *imap_quota_plugin_version = DOVECOT_VERSION;
 
 static struct module *imap_quota_module;
-static void (*next_hook_client_created)(struct client **client);
+static imap_client_created_func_t *next_hook_client_created;
 
 static const char *
 imap_quota_root_get_name(struct mail_user *user, struct mail_user *owner,
diff -r 771fab474b1c -r 31119136ee6e src/plugins/imap-zlib/imap-zlib-plugin.c
--- a/src/plugins/imap-zlib/imap-zlib-plugin.c	Mon Feb 27 10:32:03 2012 +0200
+++ b/src/plugins/imap-zlib/imap-zlib-plugin.c	Mon Feb 27 10:36:09 2012 +0200
@@ -25,7 +25,7 @@
 const char *imap_zlib_plugin_version = DOVECOT_VERSION;
 
 static struct module *imap_zlib_module;
-static void (*next_hook_client_created)(struct client **client);
+static imap_client_created_func_t *next_hook_client_created;
 
 static MODULE_CONTEXT_DEFINE_INIT(imap_zlib_imap_module,
 				  &imap_module_register);


More information about the dovecot-cvs mailing list