summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-10 02:14:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-10 02:14:31 +0300
commitefad6f00faf25eb0ec84bb8539c5fbe9698e09e0 (patch)
tree74550aaead3ce1faa675d790a09d24717f6eccc6
parentc4132a81d876d6414dee73ca94eb02aeff35ac14 (diff)
downloadmv-efad6f00faf25eb0ec84bb8539c5fbe9698e09e0.tar.gz
mv-efad6f00faf25eb0ec84bb8539c5fbe9698e09e0.tar.bz2
mv-efad6f00faf25eb0ec84bb8539c5fbe9698e09e0.tar.xz
mv-efad6f00faf25eb0ec84bb8539c5fbe9698e09e0.zip
Remove more debug lines and fix logging bytes stream.
-rw-r--r--src/keyboardconfig.cpp1
-rw-r--r--src/net/messagein.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index 50bdaf295..222fa28d5 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -397,7 +397,6 @@ void KeyboardConfig::retrieve()
{
mKey[i].value = static_cast<int>(config.getValue(
mKey[i].configField, mKey[i].defaultValue));
- logger->log("key: %d", mKey[i].value);
if (mKey[i].value < -255 || mKey[i].value > SDLK_LAST)
mKey[i].value = KEY_NO_VALUE;
}
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp
index 5d15d26ac..5848c8b18 100644
--- a/src/net/messagein.cpp
+++ b/src/net/messagein.cpp
@@ -274,7 +274,7 @@ unsigned char *MessageIn::readBytes(int length)
else
str += "_";
}
- logger->log("ReadBytes: " + str);
+ logger->dlog("ReadBytes: " + str);
#endif
PacketCounters::incInBytes(length);