summaryrefslogtreecommitdiff
path: root/src/downserver
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2008-10-25 19:33:37 +0200
committerxHire <xhire@tuxportal.cz>2008-10-25 19:33:37 +0200
commit39f3432e4e1e8a2b6c3234df6b90d35e03548b48 (patch)
tree51520f470d710fcc6aa746a70fc0e9f24fbf48b9 /src/downserver
parentc8a9209d77a896bf49227e5aeccd54e91ccf29cc (diff)
Changed default port to 6800
Corrected wrong version in server config file Added missing arena (BAIACO8B) into server list
Diffstat (limited to 'src/downserver')
-rw-r--r--src/downserver/downServer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/downserver/downServer.c b/src/downserver/downServer.c
index e783f06..52e757d 100644
--- a/src/downserver/downServer.c
+++ b/src/downserver/downServer.c
@@ -20,7 +20,7 @@
#define STR_PATH_SIZE 4096
#define STR_ARENA_NET_NAME_SIZE 256
-#define BUFFER_SEND_FILE_SIZE 4096
+#define BUFFER_SEND_FILE_SIZE 4096
#define NET_STATUS_OK 0
#define NET_STATUS_ZOMBIE 1
@@ -118,7 +118,7 @@ static void proto_getarena(client_t * client, char *msg)
if (client->file == NULL || client->fileSize < 0) {
client->file = NULL;
client->fileSize = 0;
- sprintf(msg_out, "ERR server has a problem !\n");
+ sprintf(msg_out, "ERR server has a problem!\n");
} else {
sprintf(msg_out, "OK %d\n", client->fileSize);
}
@@ -335,7 +335,7 @@ int main(int argc, char **argv)
{
signal(SIGPIPE, SIG_IGN);
- initDownServer("127.0.0.1", 2200);
+ initDownServer("0.0.0.0", 6800);
while (1) {
startDownServer();