diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-05 18:09:54 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-05 18:09:54 +0300 |
commit | 9b6b141a936bb7ba89c431176fa53a5878b8a9bd (patch) | |
tree | bfe875c900f2e865ece4d00f223b7529a86dc625 /src/lmtp.c | |
parent | d78ac2d1060c2b049b4eebc176d3823f82f9ea76 (diff) | |
download | rspamd-9b6b141a936bb7ba89c431176fa53a5878b8a9bd.tar.gz rspamd-9b6b141a936bb7ba89c431176fa53a5878b8a9bd.zip |
* Add more advanced signal processing routine
Diffstat (limited to 'src/lmtp.c')
-rw-r--r-- | src/lmtp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lmtp.c b/src/lmtp.c index f9bd6f65e..e07971f5e 100644 --- a/src/lmtp.c +++ b/src/lmtp.c @@ -38,9 +38,13 @@ static struct timeval io_tv; static gboolean lmtp_write_socket (void *arg); -static - void +#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: |