]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: Reformat lmtp-client.c.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 4 May 2020 20:25:47 +0000 (22:25 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 27 May 2020 05:32:15 +0000 (05:32 +0000)
src/lmtp/lmtp-client.c

index 5f43dfd790f1a047dd74b9c61a2d5eb32c79fac2..a0f09c5c2eac092b7173523af50f73826e777242 100644 (file)
@@ -29,7 +29,7 @@
 
 static const struct smtp_server_callbacks lmtp_callbacks;
 static const struct lmtp_client_vfuncs lmtp_client_vfuncs;
-       
+
 struct lmtp_module_register lmtp_module_register = { 0 };
 
 static struct client *clients = NULL;
@@ -207,10 +207,10 @@ struct client *client_create(int fd_in, int fd_out,
                        SMTP_SERVER_WORKAROUND_MAILBOX_FOR_PATH;
        }
 
-       client->conn = smtp_server_connection_create
-               (lmtp_server, fd_in, fd_out,
-                       &conn->remote_ip, conn->remote_port,
-                       conn->ssl, &lmtp_set, &lmtp_callbacks, client);
+       client->conn = smtp_server_connection_create(
+               lmtp_server, fd_in, fd_out,
+               &conn->remote_ip, conn->remote_port, conn->ssl,
+               &lmtp_set, &lmtp_callbacks, client);
 
        DLLIST_PREPEND(&clients, client);
        clients_count++;
@@ -287,8 +287,8 @@ void client_disconnect(struct client *client, const char *enh_code,
                                smtp_server_state_names[client->state.state]);
 
        if (conn != NULL) {
-               smtp_server_connection_terminate(&conn,
-                       (enh_code == NULL ? "4.0.0" : enh_code), reason);
+               smtp_server_connection_terminate(
+                       &conn, (enh_code == NULL ? "4.0.0" : enh_code), reason);
        }
 }