summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/net/network.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 881463f0..b02c608d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
screen with OpenGL on Windows, since it works fine in Linux without
having to reinitialize the OpenGL state. Adapted change by kraant from
Aethyra.
+ * src/net/network.cpp: Fixed the name of a variable (fix by Scraggy).
2008-08-29 David Athay <ko2fan@gmail.com>
diff --git a/src/net/network.cpp b/src/net/network.cpp
index 375d93e0..3e1b6571 100644
--- a/src/net/network.cpp
+++ b/src/net/network.cpp
@@ -296,7 +296,7 @@ MessageIn Network::getNextMessage()
len = readWord(2);
#ifdef DEBUG
- logger->log("Received packet 0x%x of length %d", msgId, length);
+ logger->log("Received packet 0x%x of length %d", msgId, len);
#endif
MessageIn msg(mInBuffer, len);