Module: sip-router
Branch: master
Commit: da589b753539ebecfc2294b86bdcfe4bd09d64fb
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=da589b7…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Thu Jul 2 12:38:48 2009 +0200
core: fix EXTRA_DEBUG information about second via in parse_msg
---
parser/msg_parser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/parser/msg_parser.c b/parser/msg_parser.c
index 5132112..18e17df 100644
--- a/parser/msg_parser.c
+++ b/parser/msg_parser.c
@@ -625,7 +625,7 @@ int parse_msg(char* buf, unsigned int len, struct sip_msg* msg)
#ifdef EXTRA_DEBUG
/* dump parsed data */
if (msg->via1){
- DBG(" first via: <%.*s/%.*s/%.*s> <%.*s:%.*s(%d)>",
+ DBG("first via: <%.*s/%.*s/%.*s> <%.*s:%.*s(%d)>",
msg->via1->name.len,
ZSW(msg->via1->name.s),
msg->via1->version.len,
@@ -645,7 +645,7 @@ int parse_msg(char* buf, unsigned int len, struct sip_msg* msg)
DBG ("\n");
}
if (msg->via2){
- DBG(" first via: <%.*s/%.*s/%.*s> <%.*s:%.*s(%d)>",
+ DBG("second via: <%.*s/%.*s/%.*s> <%.*s:%.*s(%d)>",
msg->via2->name.len,
ZSW(msg->via2->name.s),
msg->via2->version.len,