Loading codec/c++/sip_codets.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -759,6 +759,14 @@ void ViaBody::PreDecodeField (int id, Buffer& buffer) throw (DecodeError) } } void ViaBody_List::PreDecode (Buffer& buffer) throw (DecodeError) { // we assume that we are decoding one field at onece // multiple fields are handled by successively decoding // the via field several times in MessageHeader SetHypSize (GetSize() + 1); SetHypAppend (1); } }} // namespaces Loading
codec/c++/sip_codets.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -759,6 +759,14 @@ void ViaBody::PreDecodeField (int id, Buffer& buffer) throw (DecodeError) } } void ViaBody_List::PreDecode (Buffer& buffer) throw (DecodeError) { // we assume that we are decoding one field at onece // multiple fields are handled by successively decoding // the via field several times in MessageHeader SetHypSize (GetSize() + 1); SetHypAppend (1); } }} // namespaces