225 } |
225 } |
226 } |
226 } |
227 catch (std::exception& e) |
227 catch (std::exception& e) |
228 { |
228 { |
229 m_interface->printWarning("Couldn't process packet: %s\n", e.what()); |
229 m_interface->printWarning("Couldn't process packet: %s\n", e.what()); |
230 m_interface->printWarning("Packet contents was: %s\n", message.quote().chars()); |
230 m_interface->printWarning("Packet contents was: %s\n", quote(message).chars()); |
231 m_interface->printWarning("Stream position in payload was: %d\n", stream.position()); |
231 m_interface->printWarning("Stream position in payload was: %d\n", stream.position()); |
232 } |
232 } |
233 } |
233 } |
234 |
234 |
235 void RCONSession::processServerUpdates(Bytestream& packet) |
235 void RCONSession::processServerUpdates(Bytestream& packet) |