Browse Source

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
Daniel-Constantin Mierla 13 years ago
parent
commit
21346f47f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/tm/lw_parser.c

+ 1 - 1
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;