diff options
Diffstat (limited to 'src/libserver/rspamd_control.c')
-rw-r--r-- | src/libserver/rspamd_control.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c index e274f100b..6696cd183 100644 --- a/src/libserver/rspamd_control.c +++ b/src/libserver/rspamd_control.c @@ -804,7 +804,6 @@ rspamd_srv_request_handler (gint fd, short what, gpointer ud) struct rspamd_srv_request_data *rd = ud; struct msghdr msg; struct iovec iov; - struct cmsghdr *cmsg; guchar fdspace[CMSG_SPACE(sizeof (int))]; gssize r; gint rfd = -1; @@ -846,8 +845,6 @@ rspamd_srv_request_handler (gint fd, short what, gpointer ud) } if (msg.msg_controllen >= CMSG_SPACE(sizeof (int))) { - cmsg = CMSG_FIRSTHDR (&msg); - rfd = *(int *) CMSG_DATA(CMSG_FIRSTHDR (&msg)); } |