]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: commands: Renamed client_input_add_file() to cmd_data_input_add_file().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 30 Oct 2017 00:17:21 +0000 (01:17 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 7 Dec 2017 23:10:07 +0000 (00:10 +0100)
src/lmtp/commands.c

index 10123b715a5325a6b83e5f8f5158df88ace60e07..e982b04bcfbd6ca857f14d9cde44c839d431cae1 100644 (file)
@@ -391,8 +391,9 @@ static void client_input_data_write(struct client *client)
        i_stream_unref(&input);
 }
 
-static int client_input_add_file(struct client *client,
-                                const unsigned char *data, size_t size)
+static int
+cmd_data_input_add_file(struct client *client,
+                       const unsigned char *data, size_t size)
 {
        struct client_state *state = &client->state;
        string_t *path;
@@ -447,7 +448,7 @@ client_input_add(struct client *client, const unsigned char *data, size_t size)
                buffer_append(client->state.mail_data, data, size);
                return 0;
        } else {
-               return client_input_add_file(client, data, size);
+               return cmd_data_input_add_file(client, data, size);
        }
 }