From 6761e5c8a608ce221b5ac0c991322a6bd27600e1 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Mon, 13 Oct 2003 23:15:52 +0000 Subject: [PATCH] Missed a few --- src/network/master.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/network/master.cpp b/src/network/master.cpp index 6f85f3dc1..aa164e5da 100644 --- a/src/network/master.cpp +++ b/src/network/master.cpp @@ -68,7 +68,7 @@ ----------------------------------------------------------------------------*/ //###### For Magnant META SERVER -local int sockfd; // This is a TCP socket. +local Socket sockfd; // This is a TCP socket. global int MetaServerInUse; /*---------------------------------------------------------------------------- @@ -104,7 +104,7 @@ global int MetaInit(void) return -1; } - if (SendMetaCommand("Login","") == -1) { + if (SendMetaCommand("Login", "") == -1) { //TODO: Notify player that connection was aborted... return -1; } @@ -142,7 +142,7 @@ global int MetaClose(void) */ global int MetaServerOK(char** reply) { - return !strcmp("OK\r\n",*reply) || !strcmp("OK\n",*reply); + return !strcmp("OK\r\n", *reply) || !strcmp("OK\n", *reply); } /** @@ -231,7 +231,7 @@ global int RecvMetaReply(char** reply) { int n; int size; - char *p; + char* p; char buf[1024]; if (NetSocketReady(sockfd, 5000) == -1) {