diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-30 00:56:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-30 00:56:18 +0000 |
commit | 7190809e19680ec753e3bde866f0c3f81fafae21 (patch) | |
tree | add4ca7732a5f9e4949dc12396447e83683b3b84 /src/worker.c | |
parent | 023abb060f52cb2f401905dfbb4e2ce0af271273 (diff) | |
download | rspamd-7190809e19680ec753e3bde866f0c3f81fafae21.tar.gz rspamd-7190809e19680ec753e3bde866f0c3f81fafae21.zip |
Fix peer keys handling.
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 91797a6dc..079fa8fae 100644 --- a/src/worker.c +++ b/src/worker.c @@ -130,7 +130,7 @@ rspamd_worker_body_handler (struct rspamd_http_connection *conn, } if (msg->peer_key) { - task->peer_key = g_string_new (msg->peer_key->str); + task->peer_key = rspamd_http_connection_key_ref (msg->peer_key); } if (!rspamd_task_process (task, msg, ctx->classify_pool, TRUE)) { |