From e36af42ce42b02badb6571eaefdfebabf1bd9ede Mon Sep 17 00:00:00 2001 From: thorkill Date: Sun, 15 May 2016 18:48:24 +0200 Subject: [PATCH] Change type of the packet. --- src/net_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net_packet.c b/src/net_packet.c index 3c22049d..a672e26f 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1624,7 +1624,7 @@ void handle_incoming_vpn_data(void *data, int flags) { void handle_incoming_slpd_data(void *data, int flags) { listen_socket_t *ls = data; - void *pkt; + char pkt[MAXSIZE]; sockaddr_t addr = {}; socklen_t addrlen = sizeof addr;