Fixing some ASN.1 related bugs. Playing a game works now, but there is still an issue when the lobby is started after the game.

This commit is contained in:
lotodore
2009-08-03 20:42:32 +00:00
parent 82ebd318d0
commit 9a8f2ae01a
6 changed files with 32 additions and 13 deletions
+1
View File
@@ -236,6 +236,7 @@ SenderHelper::InternalStorePacket(SendDataManager &tmpManager, boost::shared_ptr
unsigned char buf[MAX_PACKET_SIZE];
asn_enc_rval_t e;
e = der_encode_to_buffer(&asn_DEF_PokerTHMessage, packet->GetMsg(), buf, MAX_PACKET_SIZE);
//cerr << "OUT:" << endl << packet->ToString() << endl;
if (e.encoded == -1)
LOG_ERROR("Failed to encode NetPacket: " << packet->GetMsg()->present);
else