*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@706 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-17 20:33:01 +00:00
parent 57617b7e31
commit ac89e45921
+3 -3
View File
@@ -138,9 +138,9 @@ ENetPacket *recvmap(int n)
#ifdef STANDALONE
void localservertoclient(int chan, uchar *buf, int len) {};
void fatal(char *s, char *o) { cleanupserver(); printf("servererror: %s\n", s); exit(1); };
void fatal(char *s, char *o) { cleanupserver(); printf("fatal: %s\n", s); exit(EXIT_FAILURE); };
int main(int argc, char* argv[]) // EDIT: AH
int main(int argc, char **argv) // EDIT: AH
{
int uprate = 0, maxcl = DEFAULTCLIENTS;
char *sdesc = "", *ip = "", *master = NULL, *passwd = "", *maprot = "", *masterpwd = NULL;
@@ -164,7 +164,7 @@ int main(int argc, char* argv[]) // EDIT: AH
if(enet_initialize()<0) fatal("Unable to initialise network module");
initserver(true, uprate, sdesc, ip, master, passwd, maxcl, maprot, masterpwd);
return 0;
return EXIT_SUCCESS;
};
#endif