Reverting invalid changes.
This commit is contained in:
@@ -84,7 +84,7 @@ void
|
|||||||
SenderHelper::InternalStorePacket(SendBuffer &tmpBuffer, boost::shared_ptr<NetPacket> packet)
|
SenderHelper::InternalStorePacket(SendBuffer &tmpBuffer, boost::shared_ptr<NetPacket> packet)
|
||||||
{
|
{
|
||||||
asn_enc_rval_t e = der_encode(&asn_DEF_PokerTHMessage, packet->GetMsg(), &SendBuffer::EncodeToBuf, &tmpBuffer);
|
asn_enc_rval_t e = der_encode(&asn_DEF_PokerTHMessage, packet->GetMsg(), &SendBuffer::EncodeToBuf, &tmpBuffer);
|
||||||
cerr << "OUT:" << endl << packet->ToString() << endl;
|
//cerr << "OUT:" << endl << packet->ToString() << endl;
|
||||||
if (e.encoded == -1)
|
if (e.encoded == -1)
|
||||||
LOG_ERROR("Failed to encode NetPacket: " << packet->GetMsg()->present);
|
LOG_ERROR("Failed to encode NetPacket: " << packet->GetMsg()->present);
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
@@ -39,7 +39,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */
|
#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */
|
||||||
#define ssize_t SSIZE_T
|
#define ssize_t SSIZE_T
|
||||||
//typedef char int8_t;
|
typedef char int8_t;
|
||||||
typedef short int16_t;
|
typedef short int16_t;
|
||||||
typedef int int32_t;
|
typedef int int32_t;
|
||||||
typedef unsigned char uint8_t;
|
typedef unsigned char uint8_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user