1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-05 02:00:25 +08:00

fix debug output

This commit is contained in:
源文雨
2022-10-15 10:20:41 +08:00
parent bc95dc8246
commit 42c013dc87

View File

@@ -99,7 +99,7 @@ static int cmdpacket_encrypt(cmdpacket_t p, int index, const char pwd[64], const
TEA tea;
#ifdef DEBUG
printf("encrypt len: %d, data: ", p->datalen);
for(int i = 0; i < p->datalen; i++) printf("%02x", data[i]);
for(int i = 0; i < p->datalen; i++) printf("%02x", ((uint8_t*)data)[i]);
putchar('\n');
#endif