summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h6
-rw-r--r--src/common/socket.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index ddc43ebbf..18b724e56 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -74,12 +74,12 @@
//For character names, title names, guilds, maps, etc.
//Includes null-terminator as it is the length of the array.
-#define NAME_LENGTH 24
+#define NAME_LENGTH (23 + 1)
//For item names, which tend to have much longer names.
#define ITEM_NAME_LENGTH 50
//For Map Names, which the client considers to be 16 in length including the .gat extension
-#define MAP_NAME_LENGTH 12
-#define MAP_NAME_LENGTH_EXT 16
+#define MAP_NAME_LENGTH (11 + 1)
+#define MAP_NAME_LENGTH_EXT (MAP_NAME_LENGTH + 4)
#define MAX_FRIENDS 40
#define MAX_MEMOPOINTS 10
diff --git a/src/common/socket.c b/src/common/socket.c
index d8f3365d3..ef8e99762 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -198,8 +198,6 @@ int send_from_fifo(int fd)
if( session[fd]->wdata_size == 0 )
return 0; // nothing to send
- ShowInfo("Session #%d sending %d bytes.\n", fd, session[fd]->wdata_size);
-
len = send(fd, (const char *) session[fd]->wdata, (int)session[fd]->wdata_size, 0);
if( len == SOCKET_ERROR )