Commit 16ee5728 authored by baire's avatar baire
Browse files

fixed the decoding of RetryAfter

parent 3c24fac9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1615,7 +1615,7 @@ void RetryAfter::PreDecodeField (int id, Buffer& buffer) throw (DecodeError)
void RetryAfter::PostDecodeField (int id, Buffer& buffer) throw (DecodeError)
{
	static Regex reg_parenthesis ("^[)]");
	if (id == id_comment && GetHypFieldIsPresent(id))
	if (id == id_comment && IsPresent(id))
	{
		reg_parenthesis.AssertMatch (buffer, this);
		buffer.SetPosition(buffer.GetPosition() + 8);