diff options
Diffstat (limited to 'ws2a/bugcomment.c')
| -rw-r--r-- | ws2a/bugcomment.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ws2a/bugcomment.c b/ws2a/bugcomment.c index 193495a..c15e6ab 100644 --- a/ws2a/bugcomment.c +++ b/ws2a/bugcomment.c @@ -21,9 +21,9 @@ char* replaceHTML(char* str){ nstrp++; }else if(str[strp] == '%'){ //printf("Hit encodeing!\n"); - int hex; - sscanf(str+strp,"%%%x",&hex); - //printf("Was:%c\n",(char)hex); + int hex = 0; + sscanf(str+strp,"%%%2x",&hex); + //printf("Was:%c(%d)\n",(char)hex,hex); if(hex == 0x0D){ strp+=3; continue; |
