]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master: Whitespace cleanup.
authorsergey.kitov <sergey.kitov@open-xchange.com>
Wed, 15 Dec 2021 13:19:04 +0000 (15:19 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Wed, 26 Jan 2022 09:11:52 +0000 (09:11 +0000)
src/lib-master/master-service-private.h
src/lib-master/master-service.c
src/lib-master/master-service.h

index d886c9d4c4bf39723d264ebd44a52d6a9e1fbe47..a23a2cc1e1343f7ca644fa3ba82d5e9e53fd2286 100644 (file)
@@ -16,7 +16,7 @@ struct master_service_listener {
 
        /* state */
        bool closed;
-       int fd; 
+       int fd;
        struct io *io;
 };
 
index f6cabfdd88656ef95b67c72844256380cd4ca689..fe4812765937d6eae382ac4adb17402ba9b1a889 100644 (file)
@@ -478,7 +478,7 @@ master_service_try_init_log(struct master_service *service,
                                          &facility))
                        facility = LOG_MAIL;
                i_set_failure_syslog(service->set->instance_name, LOG_NDELAY,
-                                    facility);
+                                    facility);
                i_set_failure_prefix("%s", prefix);
 
                if (strcmp(service->set->log_path, "syslog") != 0) {
@@ -665,7 +665,7 @@ void master_service_init_finish(struct master_service *service)
        /* set default signal handlers */
        if ((service->flags & MASTER_SERVICE_FLAG_STANDALONE) == 0)
                sigint_flags |= LIBSIG_FLAG_RESTART;
-        lib_signals_set_handler(SIGINT, sigint_flags, sig_die, service);
+       lib_signals_set_handler(SIGINT, sigint_flags, sig_die, service);
        lib_signals_set_handler(SIGTERM, LIBSIG_FLAG_DELAYED, sig_die, service);
        if ((service->flags & MASTER_SERVICE_FLAG_TRACK_LOGIN_STATE) != 0) {
                lib_signals_set_handler(SIGUSR1, LIBSIG_FLAGS_SAFE,
@@ -866,7 +866,7 @@ void master_service_run(struct master_service *service,
 
 void master_service_stop(struct master_service *service)
 {
-        io_loop_stop(service->ioloop);
+       io_loop_stop(service->ioloop);
 }
 
 void master_service_stop_new_connections(struct master_service *service)
@@ -1015,7 +1015,7 @@ void master_service_client_connection_destroyed(struct master_service *service)
 
        if (service->service_count_left == service->total_available_count) {
                service->total_available_count--;
-                service->service_count_left--;
+               service->service_count_left--;
        } else {
                if (service->service_count_left != UINT_MAX)
                        service->service_count_left--;
index 192f7e641c266cda9f0f77f85eb32d3a90c66a37..0ee35b3246142980bb44a55f9ce4692aa19b276d 100644 (file)
@@ -47,11 +47,11 @@ enum master_service_flags {
 };
 
 struct master_service_connection_proxy {
-        /* only set if ssl is TRUE */
-        const char *hostname;
-        const char *cert_common_name;
-        const unsigned char *alpn;
-        unsigned int alpn_size;
+       /* only set if ssl is TRUE */
+       const char *hostname;
+       const char *cert_common_name;
+       const unsigned char *alpn;
+       unsigned int alpn_size;
 
        bool ssl:1;
        bool ssl_client_cert:1;