Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7954 in orxonox.OLD for trunk/src/lib/network/converter.cc


Ignore:
Timestamp:
May 29, 2006, 3:28:41 PM (19 years ago)
Author:
patrick
Message:

trunk: merged the network branche back to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/network/converter.cc

    r7230 r7954  
    489489  {
    490490    PRINTF(1)("something went wrong length > remaining bytes in buffer\n" );
     491   
     492    //TODO remove this
     493    for ( int i = -1000; i < 1001; i++ )
     494    {
     495      if ( ( a[i] > 'a' && a[i] < 'z' ) || ( a[i] > 'A' && a[i] < 'Z' ) )
     496        printf("%c", a[i]);
     497      else
     498        printf(".");
     499    }
     500    printf("\n");
     501   
    491502    s = "";
    492503    return -1;
    493504  }
    494505
    495   s[0] = '\0';
     506  s = "";
    496507  s.append( (char*)a+n, length );
    497508
Note: See TracChangeset for help on using the changeset viewer.