Loading codec/c++/sip_codets.cpp +11 −0 Original line number Diff line number Diff line Loading @@ -1386,6 +1386,17 @@ void ViaBody_List::PreDecode (Buffer& buffer) throw (DecodeError) SetHypAppend (1); } void ViaBody_List::PostDecodeField (int id, Buffer& buffer) throw (DecodeError) { Regex reg_comma ("^" SIPREG_COMMA); if (reg_comma.Match(buffer)) { reg_comma.MovePast(buffer); SetHypSize (GetSize() + 1); } } void UndefinedHeader_List::PreDecode (Buffer& buffer) throw (DecodeError) { // we assume that we are decoding one field at onece Loading Loading
codec/c++/sip_codets.cpp +11 −0 Original line number Diff line number Diff line Loading @@ -1386,6 +1386,17 @@ void ViaBody_List::PreDecode (Buffer& buffer) throw (DecodeError) SetHypAppend (1); } void ViaBody_List::PostDecodeField (int id, Buffer& buffer) throw (DecodeError) { Regex reg_comma ("^" SIPREG_COMMA); if (reg_comma.Match(buffer)) { reg_comma.MovePast(buffer); SetHypSize (GetSize() + 1); } } void UndefinedHeader_List::PreDecode (Buffer& buffer) throw (DecodeError) { // we assume that we are decoding one field at onece Loading