diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-25 18:40:52 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-25 18:40:52 +0400 |
commit | 5c8a618633d4cf42a429f0aad3c85378458dc839 (patch) | |
tree | ebd54f7fe51fd3bb380ceeb0a2f306543515f201 /src/plugins/surbl.c | |
parent | a99a4bf8d2241b19b70c16fa12f3ed7f3f96ae68 (diff) | |
download | rspamd-5c8a618633d4cf42a429f0aad3c85378458dc839.tar.gz rspamd-5c8a618633d4cf42a429f0aad3c85378458dc839.zip |
* Fix static buffer usage
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r-- | src/plugins/surbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 81acb1f7b..eeb22b543 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -586,7 +586,7 @@ redirector_callback (int fd, short what, void *arg) if (*p == '\0') { msg_debug ("redirector_callback: <%s> got reply from redirector: '%s' -> '%s'", param->task->message_id, struri (param->url), c); - parse_uri (param->url, c, param->task->task_pool); + parse_uri (param->url, memory_pool_strdup (param->task->task_pool, c), param->task->task_pool); } } event_del (¶m->ev); |