diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-10 19:15:03 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-10 19:15:03 +0400 |
commit | 1fd435e5d4fc3c51fae8a1a184b347bdf6039d26 (patch) | |
tree | f17ee669ea0d5bfa497b3c952e8d7bed9885501a /src/symbols_cache.c | |
parent | 683b90f4c6c744557f7429ce6ff77c0f7d2175e1 (diff) | |
download | rspamd-1fd435e5d4fc3c51fae8a1a184b347bdf6039d26.tar.gz rspamd-1fd435e5d4fc3c51fae8a1a184b347bdf6039d26.zip |
* Rework build process:
- add librspamdserver
- link this library to all daemons and utils of rspamd
- use subdirectories more often
* Rework global variables logic - move them to the main process
* Fix logging to handle utf-8 correctly
* Add statshow utility and make it working
* Move printf functions to separate source file
Diffstat (limited to 'src/symbols_cache.c')
-rw-r--r-- | src/symbols_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/symbols_cache.c b/src/symbols_cache.c index 0c4891df2..c4327b470 100644 --- a/src/symbols_cache.c +++ b/src/symbols_cache.c @@ -950,9 +950,9 @@ call_symbol_callback (struct worker_task * task, struct symbols_cache * cache, g } #endif if (G_UNLIKELY (check_debug_symbol (task->cfg, item->s->symbol))) { - rspamd_log_debug (); + rspamd_log_debug (rspamd_main->logger); item->func (task, item->user_data); - rspamd_log_nodebug (); + rspamd_log_nodebug (rspamd_main->logger); } else { item->func (task, item->user_data); |