Changeset 7662
- Timestamp:
- Nov 24, 2010, 3:29:56 PM (14 years ago)
- Location:
- code/branches/masterserver/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/masterserver/src/libraries/network/MasterServerComm.cc
r7650 r7662 83 83 84 84 if (this->peer == NULL ) 85 { fprintf( stderr, 86 "No available peers for initiating an ENet connection.\n"); 85 { COUT(2) << "ERROR: No available peers for initiating an ENet connection.\n"; 87 86 //exit (EXIT_FAILURE); 88 87 return -1; -
code/branches/masterserver/src/libraries/network/MasterServerProtocol.h
r7659 r7662 31 31 32 32 /* master server address (to be moved elsewhere later) */ 33 #define MS_ADDRESS " 82.130.81.100"33 #define MS_ADDRESS "129.132.3.227" 34 34 35 35 #define MSPROTO_CLIENT "CL" -
code/branches/masterserver/src/modules/masterserver/MasterServer.cc
r7658 r7662 35 35 { 36 36 /* singleton stuff */ 37 ManageScopedSingleton( MasterServer, ScopeID::Root, false );37 //ManageScopedSingleton( MasterServer, ScopeID::Root, false ); 38 38 39 39 /***** EVENTS *****/ … … 166 166 /* build reply string */ 167 167 char *tosend = (char *)calloc( (*i).getServerIP().length() + MSPROTO_SERVERLIST_ITEM_LEN + 2,1 ); 168 sprintf( "%s %s", MSPROTO_SERVERLIST_ITEM, (*i).getServerIP().c_str() );168 sprintf( tosend, "%s %s", MSPROTO_SERVERLIST_ITEM, (*i).getServerIP().c_str() ); 169 169 170 170 /* create packet from it */
Note: See TracChangeset
for help on using the changeset viewer.