aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/salticidae/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/network.h b/include/salticidae/network.h
index 63c83be..ec112ad 100644
--- a/include/salticidae/network.h
+++ b/include/salticidae/network.h
@@ -569,7 +569,7 @@ void MsgNetwork<OpcodeType>::send_msg(const MsgType &_msg, Conn &conn) {
bytearray_t msg_data = msg.serialize();
SALTICIDAE_LOG_DEBUG("wrote message %s to %s",
std::string(msg).c_str(),
- std::string(*conn).c_str());
+ std::string(conn).c_str());
conn.write(std::move(msg_data));
#ifdef SALTICIDAE_MSG_STAT
conn.nsent++;