diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-18 20:12:18 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-18 20:12:18 +0400 |
commit | 4a51b80e3ef6573850007f5f83fb82370e0b8094 (patch) | |
tree | 347cd649b53c8e03d8d3fc869d79222c6dcddf8f /src | |
parent | 2a21701f6c0f80d2a56639e7e2c156ed7179f0dd (diff) | |
download | rspamd-4a51b80e3ef6573850007f5f83fb82370e0b8094.tar.gz rspamd-4a51b80e3ef6573850007f5f83fb82370e0b8094.zip |
* Fix rspamd functions registration
Diffstat (limited to 'src')
-rw-r--r-- | src/expressions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expressions.c b/src/expressions.c index eecf68986..3f7a5d984 100644 --- a/src/expressions.c +++ b/src/expressions.c @@ -809,7 +809,7 @@ register_expression_function (const char *name, rspamd_internal_func_t func) functions_number ++; new = g_new (struct _fl, functions_number); - memcpy (new, rspamd_functions_list, (functions_number - 1) * sizeof (struct _fl)); + memcpy (new, list_ptr, (functions_number - 1) * sizeof (struct _fl)); if (list_allocated) { g_free (list_ptr); } |