From: sergey.kitov Date: Wed, 15 Dec 2021 13:19:04 +0000 (+0200) Subject: lib-master: Whitespace cleanup. X-Git-Tag: 2.3.19~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=181f1456d69110417344b5cc2a439d557b58ea8c;p=thirdparty%2Fdovecot%2Fcore.git lib-master: Whitespace cleanup. --- diff --git a/src/lib-master/master-service-private.h b/src/lib-master/master-service-private.h index d886c9d4c4..a23a2cc1e1 100644 --- a/src/lib-master/master-service-private.h +++ b/src/lib-master/master-service-private.h @@ -16,7 +16,7 @@ struct master_service_listener { /* state */ bool closed; - int fd; + int fd; struct io *io; }; diff --git a/src/lib-master/master-service.c b/src/lib-master/master-service.c index f6cabfdd88..fe48127659 100644 --- a/src/lib-master/master-service.c +++ b/src/lib-master/master-service.c @@ -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--; diff --git a/src/lib-master/master-service.h b/src/lib-master/master-service.h index 192f7e641c..0ee35b3246 100644 --- a/src/lib-master/master-service.h +++ b/src/lib-master/master-service.h @@ -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;