- Timestamp:
- May 30, 2018, 2:56:24 PM (6 years ago)
- Location:
- code/branches/PresentationFS18
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/PresentationFS18
- Property svn:mergeinfo changed
/code/branches/Masterserver_FS18 (added) merged: 11816,11829,11842,11856,11858,11880,11889,11905,11907,11910,11929-11930,11937,11962-11963,11973,11983,11990
- Property svn:mergeinfo changed
-
code/branches/PresentationFS18/src/libraries/network/MasterServerComm.cc
r11071 r12020 38 38 * the initialize method to facilitate debugging 39 39 */ 40 /* register object in orxonox */41 40 } 42 41 … … 48 47 return 1; 49 48 } 50 51 /* initialize the event holder */52 // this->event = (ENetEvent *)calloc( sizeof(ENetEvent), 1 );53 54 49 55 50 /* initiate the client */ … … 226 221 /* One could just use enet_host_service() instead. */ 227 222 enet_host_flush( this->client ); 228 229 /* free the packet */230 // PLEASE: never do this, because enet will free the packet once it's delivered. this will cause double frees231 // enet_packet_destroy( packet );232 223 233 224 /* all done. */ … … 248 239 /* One could just use enet_host_service() instead. */ 249 240 enet_host_flush( this->client ); 250 // PLEASE: never do this, because enet will free the packet once it's delivered. this will cause double frees251 // enet_packet_destroy( packet );252 241 253 242 /* all done. */
Note: See TracChangeset
for help on using the changeset viewer.