summaryrefslogtreecommitdiff
path: root/src/messages.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-07-11 11:07:00 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-07-11 11:08:14 +0200
commita214b5227f872fc4e733b9a570ebc8973b244b0d (patch)
tree932bc7bc1100142fefec3bab0d3f1b27c8acb305 /src/messages.c
parent415ba05bc6413695646b41120d149f7a53942001 (diff)
downloadcmumble-a214b5227f872fc4e733b9a570ebc8973b244b0d.tar.gz
cmumble-a214b5227f872fc4e733b9a570ebc8973b244b0d.tar.bz2
cmumble-a214b5227f872fc4e733b9a570ebc8973b244b0d.zip
Drop stringified parameter in MUMBLE_MSG macros
Use #foo instead to stringify.
Diffstat (limited to 'src/messages.c')
-rw-r--r--src/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.c b/src/messages.c
index a5f2f6f..512839b 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -8,7 +8,7 @@ static const struct {
const ProtobufCMessageDescriptor *descriptor;
const char *name;
} messages[] = {
-#define MUMBLE_MSG(a,b,c) { &mumble_proto_##b##__descriptor, c },
+#define MUMBLE_MSG(a,b) { &mumble_proto_##b##__descriptor, #a },
MUMBLE_MSGS
#undef MUMBLE_MSG
};