From: Stephan Bosch Date: Tue, 10 Oct 2023 00:07:16 +0000 (+0200) Subject: login-common: Reformat sasl-server.c X-Git-Tag: 2.4.0~2501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c401fae55b33b4903f6209daa11c826239ff9f8f;p=thirdparty%2Fdovecot%2Fcore.git login-common: Reformat sasl-server.c --- diff --git a/src/login-common/sasl-server.c b/src/login-common/sasl-server.c index e9fea9443b..affb3e8bd7 100644 --- a/src/login-common/sasl-server.c +++ b/src/login-common/sasl-server.c @@ -422,8 +422,9 @@ authenticate_callback(struct auth_client_request *request, } } -static bool get_cert_username(struct client *client, const char **username_r, - const char **error_r) +static bool +get_cert_username(struct client *client, const char **username_r, + const char **error_r) { /* this was proxied connection, so we use the name here */ if (client->client_cert_common_name != NULL) { @@ -603,9 +604,10 @@ sasl_server_auth_cancel(struct client *client, const char *reason, } void sasl_server_auth_failed(struct client *client, const char *reason, - const char *code) + const char *code) { - sasl_server_auth_cancel(client, reason, code, SASL_SERVER_REPLY_AUTH_FAILED); + sasl_server_auth_cancel(client, reason, code, + SASL_SERVER_REPLY_AUTH_FAILED); } void sasl_server_auth_abort(struct client *client) @@ -624,5 +626,6 @@ void sasl_server_auth_delayed_final(struct client *client) client->final_response = FALSE; client->authenticating = FALSE; client->auth_client_continue_pending = FALSE; - call_client_callback(client, client->delayed_final_reply, NULL, client->final_args); + call_client_callback(client, client->delayed_final_reply, + NULL, client->final_args); }