summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-14 19:47:44 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-14 19:47:44 +0100
commit518780c20361c45fc0b81ab005fcaf74b824fb53 (patch)
tree14b3f1827fa67de88bce8c84c30d2a7af9c0def3
parent5dd47222d224cc906a2606333f036aa1b51524df (diff)
m2ua: Okay... get the order of the arguments right
-rw-r--r--src/m2ua_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m2ua_msg.c b/src/m2ua_msg.c
index 354e6d2..3ab78ff 100644
--- a/src/m2ua_msg.c
+++ b/src/m2ua_msg.c
@@ -143,7 +143,7 @@ struct msgb *m2ua_to_msg(struct m2ua_msg *m2ua)
struct msgb *msg;
uint8_t rest;
- msg = msgb_alloc_headroom(512, 2048, "m2ua msg");
+ msg = msgb_alloc_headroom(2048, 512, "m2ua msg");
if (!msg) {
LOGP(DM2UA, LOGL_ERROR, "Failed to allocate.\n");
return NULL;