]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: local: Renamed rcpt_anvil_lookup_callback() to lmtp_local_rcpt_anvil_cb().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Tue, 19 Sep 2017 01:29:03 +0000 (03:29 +0200)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 7 Dec 2017 23:08:15 +0000 (00:08 +0100)
src/lmtp/lmtp-local.c

index 2bc5848a9c0a31f3ce914bca5e1b5645f7bc382f..7584a51e2ab59a9e85d756cc2899a6c43abb1528 100644 (file)
@@ -159,7 +159,7 @@ cmd_rcpt_finish(struct client *client, struct lmtp_recipient *rcpt)
 }
 
 static void
-rcpt_anvil_lookup_callback(const char *reply, void *context)
+lmtp_local_rcpt_anvil_cb(const char *reply, void *context)
 {
        struct lmtp_recipient *rcpt = context;
        struct client *client = rcpt->client;
@@ -261,7 +261,7 @@ int lmtp_local_rcpt(struct client *client,
                        "/", str_tabescape(input->username), NULL);
                io_remove(&client->io);
                rcpt->anvil_query = anvil_client_query(anvil, query,
-                                       rcpt_anvil_lookup_callback, rcpt);
+                       lmtp_local_rcpt_anvil_cb, rcpt);
                /* stop processing further commands while anvil query is
                   pending */
                return rcpt->anvil_query == NULL ? 0 : -1;