Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5737 in orxonox.OLD for branches


Ignore:
Timestamp:
Nov 23, 2005, 3:28:22 PM (19 years ago)
Author:
rennerc
Message:

network_socket: replaced PRINTF() which works not with threads with printf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_socket.cc

    r5733 r5737  
    313313  if (!tempsocket)
    314314  {
    315     PRINTF(1)("SDLNet_TCP_Accept: %s\n", SDLNet_GetError());
     315    printf("SDLNet_TCP_Accept: %s\n", SDLNet_GetError());
    316316    //printf("SDLNet_TCP_Accept: %s\n", SDLNet_GetError());
    317317    SDL_mutexV(self->socketMutex);
     
    358358    if (nbytesread<=0)
    359359    {
    360       PRINTF(1)("SDLNet_TCP_Recv: %s\n", SDLNet_GetError());
     360      printf("SDLNet_TCP_Recv: %s\n", SDLNet_GetError());
    361361
    362362      SDL_mutexP(self->socketMutex);
     
    417417    if (nbyteswrite<=0)
    418418    {
    419       PRINTF(1)("SDLNet_TCP_Recv: %s\n", SDLNet_GetError());
     419      printf("SDLNet_TCP_Recv: %s\n", SDLNet_GetError());
    420420
    421421      SDL_mutexP(self->socketMutex);
Note: See TracChangeset for help on using the changeset viewer.