Fix some debug statements

This commit is contained in:
Michael Cook (mackal) 2014-11-30 02:32:11 -05:00
parent 0d0917b779
commit de84065cde

View File

@ -460,10 +460,10 @@ int Client::HandlePacket(const EQApplicationPacket *app)
mlog(CLIENT__NET_ERR, "Unhandled incoming opcode: %s", buffer); mlog(CLIENT__NET_ERR, "Unhandled incoming opcode: %s", buffer);
if(app->size < 1000) if(app->size < 1000)
DumpPacket(app->pBuffer, app->size); DumpPacket(app, app->size);
else{ else{
std::cout << "Dump limited to 1000 characters:\n"; std::cout << "Dump limited to 1000 characters:\n";
DumpPacket(app->pBuffer, 1000); DumpPacket(app, 1000);
} }
#endif #endif
break; break;