diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-06 01:38:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-06 01:38:33 +0000 |
commit | 09aec05782a08330d252e7f0aa9bd6b9fb5d485e (patch) | |
tree | 23b5d0e24834c1aff3674c4eb021adf335348a19 /src/worker.c | |
parent | c1b90ddc7dd856671c9585368b2f34b4548ca690 (diff) | |
download | rspamd-09aec05782a08330d252e7f0aa9bd6b9fb5d485e.tar.gz rspamd-09aec05782a08330d252e7f0aa9bd6b9fb5d485e.zip |
Fix the rest sources
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker.c b/src/worker.c index 3c33168b6..ab038f63f 100644 --- a/src/worker.c +++ b/src/worker.c @@ -93,7 +93,7 @@ struct rspamd_worker_ctx { /* Events base */ struct event_base *ev_base; /* Encryption key */ - gpointer key; + struct rspamd_cryptobox_keypair *key; /* Keys cache */ struct rspamd_keypair_cache *keys_cache; /* Configuration */ @@ -441,7 +441,7 @@ start_worker (struct rspamd_worker *worker) rspamd_log_close (worker->srv->logger); if (ctx->key) { - rspamd_http_connection_key_unref (ctx->key); + rspamd_keypair_unref (ctx->key); } rspamd_keypair_cache_destroy (ctx->keys_cache); |