summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-11-22 15:01:19 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-11-22 15:02:17 +0100
commitcf3178b84582338260d407ce1e32150d6e4ff481 (patch)
treea5634bff498248a86ce08728d566ac9932576a7b /src
parent788cb954b776ba31e7056b8855a8eaa2744e2fb7 (diff)
downloadcmumble-cf3178b84582338260d407ce1e32150d6e4ff481.tar.gz
cmumble-cf3178b84582338260d407ce1e32150d6e4ff481.tar.bz2
cmumble-cf3178b84582338260d407ce1e32150d6e4ff481.zip
message: Use message typedef for udptunnel
Diffstat (limited to 'src')
-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;