]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: smtp-client-command - Rename "waslocked" to "was_locked" in smtp_client_com...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 4 Feb 2019 00:29:08 +0000 (01:29 +0100)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Fri, 28 Jun 2019 07:09:26 +0000 (10:09 +0300)
src/lib-smtp/smtp-client-command.c

index 796be5067f1c7d04bd0808971b2ba57caf757344..0b5076a526538e68216aaa75af0eb6b7f0f885ec 100644 (file)
@@ -174,7 +174,7 @@ void smtp_client_command_abort(struct smtp_client_command **_cmd)
        enum smtp_client_command_state state = cmd->state;
        bool disconnected =
                (conn->state == SMTP_CLIENT_CONNECTION_STATE_DISCONNECTED);
-       bool waslocked =
+       bool was_locked =
                (state >= SMTP_CLIENT_COMMAND_STATE_SUBMITTED) &&
                (cmd->locked || cmd->plug);
 
@@ -248,7 +248,7 @@ void smtp_client_command_abort(struct smtp_client_command **_cmd)
                smtp_client_command_unref(&cmd);
        }
 
-       if (!disconnected && waslocked && !conn->corked)
+       if (!disconnected && was_locked && !conn->corked)
                smtp_client_connection_trigger_output(conn);
 }