Loading codec/c++/sip_codets.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -2995,7 +2995,7 @@ void WarningValue::PreEncodeField (int field_id, Buffer& buffer) throw (EncodeEr case id_warnCode: Get_warnCode().SetFormat(Integer::AsciiDecimal); break; case id_WarnText: case id_warnText: csWS.Encode(buffer); csDoubleQuote.Encode(buffer); break; Loading @@ -3010,7 +3010,7 @@ void WarningValue::PostEncodeField (int field_id, Buffer& buffer) throw (EncodeE Charstring csDoubleQuote; csDoubleQuote.SetValue("\""); if(field_id == id_WarnText) { if(field_id == id_warnText) { csDoubleQuote.Encode(buffer); } } Loading @@ -3029,7 +3029,7 @@ void WarningValue::PreDecodeField (int id, Buffer& buffer) throw (DecodeError) reg_separator.AssertMatch (buffer, this); reg_separator.MovePast (buffer); break; case id_WarnText: case id_warnText: reg_separator.AssertMatch (buffer, this); reg_separator.MovePast (buffer); reg_text.AssertMatch (buffer, this); Loading @@ -3043,7 +3043,7 @@ void WarningValue::PostDecode (Buffer& buffer) throw (DecodeError) { buffer.SetPosition(buffer.GetPosition() + 8); // remove ending quota normalise_quoted_string (Get_WarnText()); normalise_quoted_string (Get_warnText()); } void WarnAgent::PreDecode (Buffer& buffer) throw (DecodeError) Loading Loading
codec/c++/sip_codets.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -2995,7 +2995,7 @@ void WarningValue::PreEncodeField (int field_id, Buffer& buffer) throw (EncodeEr case id_warnCode: Get_warnCode().SetFormat(Integer::AsciiDecimal); break; case id_WarnText: case id_warnText: csWS.Encode(buffer); csDoubleQuote.Encode(buffer); break; Loading @@ -3010,7 +3010,7 @@ void WarningValue::PostEncodeField (int field_id, Buffer& buffer) throw (EncodeE Charstring csDoubleQuote; csDoubleQuote.SetValue("\""); if(field_id == id_WarnText) { if(field_id == id_warnText) { csDoubleQuote.Encode(buffer); } } Loading @@ -3029,7 +3029,7 @@ void WarningValue::PreDecodeField (int id, Buffer& buffer) throw (DecodeError) reg_separator.AssertMatch (buffer, this); reg_separator.MovePast (buffer); break; case id_WarnText: case id_warnText: reg_separator.AssertMatch (buffer, this); reg_separator.MovePast (buffer); reg_text.AssertMatch (buffer, this); Loading @@ -3043,7 +3043,7 @@ void WarningValue::PostDecode (Buffer& buffer) throw (DecodeError) { buffer.SetPosition(buffer.GetPosition() + 8); // remove ending quota normalise_quoted_string (Get_WarnText()); normalise_quoted_string (Get_warnText()); } void WarnAgent::PreDecode (Buffer& buffer) throw (DecodeError) Loading