summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c4
1 files changed, 2 insertions, 2 deletions
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;