]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm-server: http: Renamed client_connection_create_http() to client_connection_ht...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 7 Oct 2017 15:06:09 +0000 (17:06 +0200)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Tue, 24 Oct 2017 20:29:19 +0000 (22:29 +0200)
src/doveadm/client-connection-http.c
src/doveadm/client-connection.h
src/doveadm/main.c

index 42a7b84360112293b14d40e8402c12c2414214da..9731aa041054c5d8a6e4f6016df9aaba17db54a0 100644 (file)
@@ -117,7 +117,7 @@ static struct doveadm_http_server_mount doveadm_http_server_mounts[] = {
 static void doveadm_http_server_send_response(void *context);
 
 struct client_connection *
-client_connection_create_http(int fd, bool ssl)
+client_connection_http_create(int fd, bool ssl)
 {
        struct client_connection_http *conn;
        pool_t pool;
index 00e92fb2b1e819c59645d23e649fc70e88948c08..e23a35ae3942e1c1709bd9f6133314419b76a206 100644 (file)
@@ -36,7 +36,7 @@ struct client_connection {
 struct client_connection *
 client_connection_create(int fd, int listen_fd, bool ssl);
 struct client_connection *
-client_connection_create_http(int fd, bool ssl);
+client_connection_http_create(int fd, bool ssl);
 void client_connection_destroy(struct client_connection **conn);
 
 #endif
index 5832b039fec8ad0d57286198491cb8efd39fbcc1..a08291dfa385f81805f3107a313bd29c35f8023c 100644 (file)
@@ -42,7 +42,7 @@ static void client_connected(struct master_service_connection *conn)
 
        master_service_client_connection_accept(conn);
        if (strcmp(conn->name, "http") == 0) {
-               doveadm_client = client_connection_create_http(conn->fd, conn->ssl);
+               doveadm_client = client_connection_http_create(conn->fd, conn->ssl);
        } else {
                doveadm_client = client_connection_create(conn->fd, conn->listen_fd,
                                                          conn->ssl);