From 21d3fba3185044528c018f599d0c8780cbc6b3b7 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan.bosch@open-xchange.com> Date: Sun, 20 Oct 2019 14:05:09 +0200 Subject: [PATCH] managesieve: Reformat managesieve-settings.c. --- src/managesieve/managesieve-settings.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/managesieve/managesieve-settings.c b/src/managesieve/managesieve-settings.c index d61fd9107..1d9c8f086 100644 --- a/src/managesieve/managesieve-settings.c +++ b/src/managesieve/managesieve-settings.c @@ -60,7 +60,8 @@ struct service_settings managesieve_settings_service_settings = { #define DEF(type, name) \ { type, #name, offsetof(struct managesieve_settings, name), NULL } #define DEFLIST(field, name, defines) \ - { SET_DEFLIST, name, offsetof(struct managesieve_settings, field), defines } + { SET_DEFLIST, name, \ + offsetof(struct managesieve_settings, field), defines } static struct setting_define managesieve_setting_defines[] = { DEF(SET_BOOL, mail_debug), @@ -124,13 +125,13 @@ struct managesieve_client_workaround_list { }; static const struct managesieve_client_workaround_list - managesieve_client_workaround_list[] = { +managesieve_client_workaround_list[] = { { NULL, 0 } }; static int managesieve_settings_parse_workarounds(struct managesieve_settings *set, - const char **error_r) + const char **error_r) { enum managesieve_client_workarounds client_workarounds = 0; const struct managesieve_client_workaround_list *list; @@ -146,7 +147,8 @@ managesieve_settings_parse_workarounds(struct managesieve_settings *set, } } if (list->name == NULL) { - *error_r = t_strdup_printf("managesieve_client_workarounds: " + *error_r = t_strdup_printf( + "managesieve_client_workarounds: " "Unknown workaround: %s", *str); return -1; } @@ -156,8 +158,9 @@ managesieve_settings_parse_workarounds(struct managesieve_settings *set, } -static bool managesieve_settings_verify -(void *_set, pool_t pool ATTR_UNUSED, const char **error_r) +static bool +managesieve_settings_verify(void *_set, pool_t pool ATTR_UNUSED, + const char **error_r) { struct managesieve_settings *set = _set; -- GitLab