From cf3178b84582338260d407ce1e32150d6e4ff481 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 22 Nov 2013 15:01:19 +0100 Subject: message: Use message typedef for udptunnel --- src/message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/message.c b/src/message.c index e5462d8..79f90da 100644 --- a/src/message.c +++ b/src/message.c @@ -120,9 +120,9 @@ cmumble_recv_msg(struct cmumble *cm) /* tunneled udp data - not a regular protobuf message * create dummy ProtobufCMessage */ if (type == CMUMBLE_MESSAGE_UDPTunnel) { - MumbleProto__UDPTunnel udptunnel; - mumble_proto__udptunnel__init(&udptunnel); + mumble_udptunnel_t udptunnel; + cmumble_init_udptunnel(&udptunnel); udptunnel.packet.len = len; udptunnel.packet.data = (uint8_t *) data; -- cgit