Ignore:
Timestamp:
Sep 1, 2014 6:32:50 AM (7 years ago)
Author:
riza
Message:

Misc (re #1751): fixed printing value issue when using %02X format. (Thanks Itay Bianco for the report).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath-test/stun.c

    r4537 r4910  
    926926        puts(""); 
    927927        printf("{ "); 
    928         for (i=0; i<len; ++i) printf("0x%02x, ", packet[i]); 
     928        for (i=0; i<len; ++i) printf("0x%02x, ", packet[i] & 0xFF); 
    929929        puts(" }"); 
    930930    } 
Note: See TracChangeset for help on using the changeset viewer.