]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
pop3-login: client.c - Use designated initializer for struct client_vfuncs.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 7 Aug 2019 23:55:09 +0000 (01:55 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Tue, 13 Aug 2019 22:46:26 +0000 (00:46 +0200)
src/pop3-login/client.c

index c90f6615c6f15cc1cc6e0415f915a8b70dbf6c1c..b1e4022c37ec27a028e45182edbb5882a7fd9b7f 100644 (file)
@@ -315,25 +315,22 @@ static void pop3_login_deinit(void)
 }
 
 static struct client_vfuncs pop3_client_vfuncs = {
-       pop3_client_alloc,
-       pop3_client_create,
-       pop3_client_destroy,
-       pop3_client_notify_auth_ready,
-       pop3_client_notify_disconnect,
-       NULL,
-       pop3_client_notify_starttls,
-       pop3_client_starttls,
-       pop3_client_input,
-       NULL,
-       NULL,
-       pop3_client_auth_result,
-       pop3_proxy_reset,
-       pop3_proxy_parse_line,
-       pop3_proxy_error,
-       pop3_proxy_get_state,
-       client_common_send_raw_data,
-       pop3_client_input_next_cmd,
-       client_common_default_free,
+       .alloc = pop3_client_alloc,
+       .create = pop3_client_create,
+       .destroy = pop3_client_destroy,
+       .notify_auth_ready = pop3_client_notify_auth_ready,
+       .notify_disconnect = pop3_client_notify_disconnect,
+       .notify_starttls = pop3_client_notify_starttls,
+       .starttls = pop3_client_starttls,
+       .input = pop3_client_input,
+       .auth_result = pop3_client_auth_result,
+       .proxy_reset = pop3_proxy_reset,
+       .proxy_parse_line = pop3_proxy_parse_line,
+       .proxy_error = pop3_proxy_error,
+       .proxy_get_state = pop3_proxy_get_state,
+       .send_raw_data = client_common_send_raw_data,
+       .input_next_cmd  = pop3_client_input_next_cmd,
+       .free = client_common_default_free,
 };
 
 static const struct login_binary pop3_login_binary = {