summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mapindex.h1
-rw-r--r--src/common/socket.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/common/mapindex.h b/src/common/mapindex.h
index b5ca54180..7a0286adf 100644
--- a/src/common/mapindex.h
+++ b/src/common/mapindex.h
@@ -32,6 +32,7 @@ extern char mapindex_cfgfile[80];
#define MAP_RACHEL "rachel.gat"
#define MAP_VEINS "veins.gat"
#define MAP_JAIL "sec_pri.gat"
+#define MAP_NOVICE "new_zone01.gat"
unsigned short mapindex_name2id(char*);
const char* mapindex_id2name(unsigned short);
void mapindex_init(void);
diff --git a/src/common/socket.c b/src/common/socket.c
index ad33c28db..829bd1a56 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -214,8 +214,6 @@ static int send_from_fifo(int fd)
if (len == SOCKET_ERROR) {
if (s_errno == S_ECONNABORTED) {
ShowWarning("send_from_fifo: Software caused connection abort on session #%d\n", fd);
- session[fd]->wdata_size = 0; //Clear the send queue as we can't send anymore. [Skotlex]
- set_eof(fd);
FD_CLR(fd, &readfds); //Remove the socket so the select() won't hang on it.
}
if (s_errno != S_EWOULDBLOCK) {