diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-30 13:26:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-30 13:26:51 +0100 |
commit | d6643f35d783784911ad2e2ca754bcfed29eb11d (patch) | |
tree | 55554d57d4439e278788a261eb5ad7e5016a1372 /src/smtp.c | |
parent | 7e66b3bd08dbca9356013a3777f786076d1dacea (diff) | |
download | rspamd-d6643f35d783784911ad2e2ca754bcfed29eb11d.tar.gz rspamd-d6643f35d783784911ad2e2ca754bcfed29eb11d.zip |
Refactor config API.
Diffstat (limited to 'src/smtp.c')
-rw-r--r-- | src/smtp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smtp.c b/src/smtp.c index 166b4eba4..dc3ff6089 100644 --- a/src/smtp.c +++ b/src/smtp.c @@ -49,7 +49,7 @@ static gboolean smtp_write_socket (void *arg); /* Init functions */ -gpointer init_smtp (struct config_file *cfg); +gpointer init_smtp (struct rspamd_config *cfg); void start_smtp (struct rspamd_worker *worker); worker_t smtp_worker = { @@ -801,7 +801,7 @@ make_capabilities (struct smtp_worker_ctx *ctx, const gchar *line) } gpointer -init_smtp (struct config_file *cfg) +init_smtp (struct rspamd_config *cfg) { struct smtp_worker_ctx *ctx; GQuark type; @@ -904,7 +904,7 @@ start_smtp (struct rspamd_worker *worker) { struct smtp_worker_ctx *ctx = worker->ctx; - ctx->ev_base = prepare_worker (worker, "smtp_worker", accept_socket); + ctx->ev_base = rspamd_prepare_worker (worker, "smtp_worker", accept_socket); /* Set smtp options */ if ( !config_smtp_worker (worker)) { |