Module: sip-router
Branch: master
Commit: faf7806b7488143f0637b9db896d849249eb059a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=faf7806…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Jul 13 09:49:16 2012 +0200
parser/sdp: more suggestive debug message
---
parser/sdp/sdp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/parser/sdp/sdp.c b/parser/sdp/sdp.c
index fbd2453..fb51f3f 100644
--- a/parser/sdp/sdp.c
+++ b/parser/sdp/sdp.c
@@ -717,9 +717,9 @@ int parse_sdp(struct sip_msg* _m)
}
res = parse_sdp_session(&body, 0, NULL, (sdp_info_t*)_m->body);
if (res != 0) {
- LM_DBG("free_sdp\n");
+ LM_DBG("failed to parse sdp session - freeing sdp\n");
free_sdp((sdp_info_t**)(void*)&_m->body);
- return res;
+ return res;
}
/* The whole body is SDP */
((sdp_info_t*)_m->body)->raw_sdp.s = body.s;