summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/messageout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp
index cfbc90554..60336e02f 100644
--- a/src/net/messageout.cpp
+++ b/src/net/messageout.cpp
@@ -134,7 +134,7 @@ void MessageOut::writeFloat(const float value, const char *const str)
{
#ifdef ENABLEDEBUGLOG
std::string text = strprintf("writeFloat: %f", value);
- DEBUGLOG2(text.c_str(), mPos, str);
+ DEBUGLOG2(text, mPos, str);
#endif
expand(4);
memcpy(mData + CAST_SIZE(mPos), &value, sizeof(float));