summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-09-11 07:32:45 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-09-11 07:32:45 +0000
commit9bdb331a237170a8d17c6d2881561aa0a4bab810 (patch)
treebceb9a1b1bc6ef9aca6c60d198bd660a3373afc6
parentc09905825a62274a210d618a6388b0601ac23657 (diff)
downloadmana-9bdb331a237170a8d17c6d2881561aa0a4bab810.tar.gz
mana-9bdb331a237170a8d17c6d2881561aa0a4bab810.tar.bz2
mana-9bdb331a237170a8d17c6d2881561aa0a4bab810.tar.xz
mana-9bdb331a237170a8d17c6d2881561aa0a4bab810.zip
Fixed the name of a variable (fix by Scraggy).
-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);