handle_worker_commands: fix use of send_msg_to_worker

Relates #100

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2017-04-27 08:57:07 +02:00
parent f932e61e46
commit 0b9ce68c17

View File

@@ -300,7 +300,7 @@ int handle_worker_commands(main_server_st * s, struct proc_st *proc)
}
ret =
send_msg_to_worker(s, NULL, CMD_BAN_IP_REPLY, &reply,
send_msg_to_worker(s, proc, CMD_BAN_IP_REPLY, &reply,
(pack_size_func)
ban_ip_reply_msg__get_packed_size,
(pack_func)