submission_refresh_proctitle();
}
-static void client_connection_disconnect(void *context, const char *reason)
-{
- struct client *client = context;
- struct smtp_server_connection *conn = client->conn;
- const struct smtp_server_stats *stats;
-
- if (conn != NULL) {
- stats = smtp_server_connection_get_stats(conn);
- client->stats = *stats;
- }
- client_disconnect(client, NULL, reason);
-}
-
-static void client_connection_free(void *context)
-{
- struct client *client = context;
-
- client_destroy(client, NULL, NULL);
-}
-
static const char *client_stats(struct client *client)
{
const char *trans_id = (client->conn == NULL ? "" :
}
}
+static void client_connection_disconnect(void *context, const char *reason)
+{
+ struct client *client = context;
+ struct smtp_server_connection *conn = client->conn;
+ const struct smtp_server_stats *stats;
+
+ if (conn != NULL) {
+ stats = smtp_server_connection_get_stats(conn);
+ client->stats = *stats;
+ }
+ client_disconnect(client, NULL, reason);
+}
+
+static void client_connection_free(void *context)
+{
+ struct client *client = context;
+
+ client_destroy(client, NULL, NULL);
+}
+
uoff_t client_get_max_mail_size(struct client *client)
{
struct submission_backend *backend;