summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 14:19:47 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 14:34:36 +0200
commitcfde4eb9113d779b4b43c7a056691fd3e307f2c2 (patch)
tree71e5a13d7afe74d4ba539a7663a7adda529f8073 /src/message.c
parent432cbe7f0a803e0b653e651872862c8ca4152af2 (diff)
downloadcmumble-cfde4eb9113d779b4b43c7a056691fd3e307f2c2.tar.gz
cmumble-cfde4eb9113d779b4b43c7a056691fd3e307f2c2.tar.bz2
cmumble-cfde4eb9113d779b4b43c7a056691fd3e307f2c2.zip
Fix indents
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.c b/src/message.c
index 61e2589..5ed6f14 100644
--- a/src/message.c
+++ b/src/message.c
@@ -46,7 +46,7 @@ cmumble_send_msg(struct context *ctx, ProtobufCMessage *msg)
int type = -1;
int i;
ProtobufCBufferSimple buffer = PROTOBUF_C_BUFFER_SIMPLE_INIT(pad);
-
+
for (i = 0; i < G_N_ELEMENTS(messages); ++i)
if (messages[i].descriptor == msg->descriptor)
type = i;
@@ -93,7 +93,7 @@ cmumble_recv_msg(struct context *ctx)
g_printerr("read failed: %ld\n", ret);
return 0;
}
-
+
get_preamble(preamble, &type, &len);
if (!(type >= 0 && type < G_N_ELEMENTS(messages))) {
@@ -122,7 +122,7 @@ cmumble_recv_msg(struct context *ctx)
udptunnel.packet.len = len;
udptunnel.packet.data = (uint8_t *) data;
-
+
if (ctx->callbacks[UDPTunnel])
ctx->callbacks[UDPTunnel](&udptunnel.base, ctx);