From 3462a7060ea91cc2d853c9f6962d6e2ce5cac4be Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 31 Mar 2012 20:17:10 +0000 Subject: [PATCH] Reverting invalid changes. --- src/net/common/senderhelper.cpp | 2 +- src/third_party/asn1/asn_system.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/common/senderhelper.cpp b/src/net/common/senderhelper.cpp index bad70841..fd1df9a0 100644 --- a/src/net/common/senderhelper.cpp +++ b/src/net/common/senderhelper.cpp @@ -84,7 +84,7 @@ void SenderHelper::InternalStorePacket(SendBuffer &tmpBuffer, boost::shared_ptr packet) { 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) LOG_ERROR("Failed to encode NetPacket: " << packet->GetMsg()->present); } diff --git a/src/third_party/asn1/asn_system.h b/src/third_party/asn1/asn_system.h index 85c5c9bd..a992230b 100644 --- a/src/third_party/asn1/asn_system.h +++ b/src/third_party/asn1/asn_system.h @@ -39,7 +39,7 @@ #endif #ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */ #define ssize_t SSIZE_T -//typedef char int8_t; +typedef char int8_t; typedef short int16_t; typedef int int32_t; typedef unsigned char uint8_t;