summaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-11-05 18:09:54 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-11-05 18:09:54 +0300
commit9b6b141a936bb7ba89c431176fa53a5878b8a9bd (patch)
treebfe875c900f2e865ece4d00f223b7529a86dc625 /src/fuzzy_storage.c
parentd78ac2d1060c2b049b4eebc176d3823f82f9ea76 (diff)
downloadrspamd-9b6b141a936bb7ba89c431176fa53a5878b8a9bd.tar.gz
rspamd-9b6b141a936bb7ba89c431176fa53a5878b8a9bd.zip
* Add more advanced signal processing routine
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 68da96b44..74ad90694 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -66,8 +66,13 @@ struct rspamd_fuzzy_node {
uint64_t time;
};
+#ifndef HAVE_SA_SIGINFO
static void
sig_handler (int signo)
+#else
+static void
+sig_handler (int signo, siginfo_t *info, void *unused)
+#endif
{
switch (signo) {
case SIGINT: