Переглянути джерело

Fix hyperscan command broadcast

tags/1.1.0
Vsevolod Stakhov 8 роки тому
джерело
коміт
2638d55b61
1 змінених файлів з 2 додано та 0 видалено
  1. 2
    0
      src/libserver/rspamd_control.c

+ 2
- 0
src/libserver/rspamd_control.c Переглянути файл

rspamd_control_hs_io_handler (gint fd, short what, gpointer ud) rspamd_control_hs_io_handler (gint fd, short what, gpointer ud)
{ {
struct rspamd_control_reply_elt *elt = ud; struct rspamd_control_reply_elt *elt = ud;
struct rspamd_control_reply rep;


/* At this point we just ignore replies from the workers */ /* At this point we just ignore replies from the workers */
(void)read (fd, &rep, sizeof (rep));
event_del (&elt->io_ev); event_del (&elt->io_ev);
g_slice_free1 (sizeof (*elt), elt); g_slice_free1 (sizeof (*elt), elt);
} }

Завантаження…
Відмінити
Зберегти