Commit 253dca74 authored by baire's avatar baire
Browse files

support decoding ViaBody_List

parent b27f17b3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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