summaryrefslogtreecommitdiff
path: root/src/net/network.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-09-19 12:28:42 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-09-19 12:28:42 +0000
commit2c4d4ecc19fc8308b2772e4ffe6570ca362264d1 (patch)
treea4b6d78a89bfd12b3667129bd0bae63a805682cd /src/net/network.cpp
parentcf0f74488b0f2057bc535774dc6a2c871311932f (diff)
downloadmana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.gz
mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.bz2
mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.xz
mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.zip
Got rid of writeSet() calls.
Diffstat (limited to 'src/net/network.cpp')
-rw-r--r--src/net/network.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/net/network.cpp b/src/net/network.cpp
index 570b31bb..7a3ecc09 100644
--- a/src/net/network.cpp
+++ b/src/net/network.cpp
@@ -279,16 +279,6 @@ get_next_message()
return MessageIn(in, length);
}
-void writeSet(unsigned int value)
-{
- if (out_size + value >= buffer_size) {
- logger->log("Warning: Output buffer full");
- }
- else {
- out_size += value;
- }
-}
-
void skip(int len)
{
memcpy(in, in + len, in_size - len);