diff options
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test.cpp b/src/test.cpp index ce7540e8d..313fe50db 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -1070,8 +1070,8 @@ struct TestConnection dstream<<"Sending data (size="<<1100<<"):"; for(int i=0; i<1100 && i<20; i++){ - if(i%2==0) printf(" "); - printf("%.2X", ((int)((const char*)*data1)[i])&0xff); + if(i%2==0) DEBUGPRINT(" "); + DEBUGPRINT("%.2X", ((int)((const char*)*data1)[i])&0xff); } if(1100>20) dstream<<"..."; @@ -1091,8 +1091,8 @@ struct TestConnection dstream<<"Received data (size="<<size<<"):"; for(int i=0; i<size && i<20; i++){ - if(i%2==0) printf(" "); - printf("%.2X", ((int)((const char*)recvdata)[i])&0xff); + if(i%2==0) DEBUGPRINT(" "); + DEBUGPRINT("%.2X", ((int)((const char*)recvdata)[i])&0xff); } if(size>20) dstream<<"..."; |