Module: sip-router
Branch: master
Commit: 21346f47f7712d08369e45e970a6ffec3eab0a3c
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=21346f47f7712d08369e45e970a6ffec3eab0a3c

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Tue Nov 29 11:58:45 2011 +0100

tm: proper increment of lightweight parsing for call-id

- a pretty much harmless fix to increment with 3 instead of 7 when
  parsing Call-ID name in lightweight parser
- reported and patch by Walter Doekes, FS#168

---

 modules/tm/lw_parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/tm/lw_parser.c b/modules/tm/lw_parser.c
index b6153c6..1e11cee 100644
--- a/modules/tm/lw_parser.c
+++ b/modules/tm/lw_parser.c
@@ -142,7 +142,7 @@ char *lw_get_hf_name(char *begin, char *end,
 
                case __id1_:
                case __id2_:
-                       p += 7;
+                       p += 3;
                        *type = HDR_CALLID_T;
                        break;
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to