]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
submission: Move assignment of verbose_proctitle.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 14 May 2018 20:41:29 +0000 (22:41 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 28 May 2018 07:18:00 +0000 (10:18 +0300)
Makes it more consistent with other services like imap.

src/submission/main.c

index 605fc8caa6f44fbf8e325e9daffbf1a615df43fb..1d9024979a8435f04574e9a15d489ad85d820358 100644 (file)
@@ -126,6 +126,8 @@ client_create_from_input(const struct mail_storage_service_input *input,
        restrict_access_allow_coredumps(TRUE);
 
        set = mail_storage_service_user_get_set(user)[1];
+       if (set->verbose_proctitle)
+               verbose_proctitle = TRUE;
 
        if (set->submission_relay_host == NULL ||
                *set->submission_relay_host == '\0') {
@@ -137,8 +139,6 @@ client_create_from_input(const struct mail_storage_service_input *input,
                mail_storage_service_user_unref(&user);
                return -1;
        }
-       if (set->verbose_proctitle)
-               verbose_proctitle = TRUE;
 
        /* parse input data */
        data = NULL;