diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-22 15:01:19 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-22 15:02:17 +0100 |
commit | cf3178b84582338260d407ce1e32150d6e4ff481 (patch) | |
tree | a5634bff498248a86ce08728d566ac9932576a7b | |
parent | 788cb954b776ba31e7056b8855a8eaa2744e2fb7 (diff) | |
download | cmumble-cf3178b84582338260d407ce1e32150d6e4ff481.tar.gz cmumble-cf3178b84582338260d407ce1e32150d6e4ff481.tar.bz2 cmumble-cf3178b84582338260d407ce1e32150d6e4ff481.zip |
message: Use message typedef for udptunnel
-rw-r--r-- | src/message.c | 4 |
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; |