Changeset 6923 in orxonox.OLD for branches/network/src/lib/network/network_socket.cc
- Timestamp:
- Feb 1, 2006, 12:31:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_socket.cc
r6695 r6923 172 172 173 173 if (!tcpSocket || data==NULL || nbytes<=0) 174 return 0; 174 { 175 assert(false); 176 return 0; 177 } 175 178 176 179 SDL_mutexP(outgoingBufferMutex); … … 417 420 if (incomingBufferLength<INTSIZE) 418 421 { 422 assert(false); 419 423 return 0; 420 424 } … … 426 430 { 427 431 PRINTF(1)("Buffersize is too small (%d) for packet (%d)\n", maxLength, blen); 432 assert(false); 428 433 return 0; 429 434 }
Note: See TracChangeset
for help on using the changeset viewer.