Commit 808fd3a2 authored by baire's avatar baire
Browse files

throw a DecodeIgnoreMessage after displaying the error message so that the...

throw a DecodeIgnoreMessage after displaying the error message so that the toolkit does not output anything
parent 7a6f2865
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1869,9 +1869,11 @@ void msgname::PostDecode (Buffer& buffer, DecodeError& e) throw (DecodeError) \
	std::cerr << "###  INVALID SIP MESSAGE RECEIVED                                               ###" << std::endl; \
	std::cerr << "###                                                                             ###" << std::endl; \
	e.Dump(std::cerr); \
	std::cerr << "###################################################################################" << std::endl; \
	std::cerr << "###-----------------------------------------------------------------------------###" << std::endl; \
	std::cerr.write (reinterpret_cast<const char*>(buffer.GetValueBin()), buffer.GetLength()/8); \
	std::cerr << "###################################################################################" << std::endl; \
	/* tell t3devkit to ignore silently the message */ \
	throw DecodeIgnoreMessage(e.mVar); \
}

SIP_MESSAGE_CODET (Response)