Small hex fix
This commit is contained in:
parent
cfbe03bde1
commit
d1eb31dceb
@ -261,8 +261,9 @@ char *binkp2unix(char *fn)
|
|||||||
|
|
||||||
while (*p) {
|
while (*p) {
|
||||||
if (p[0] == '\\') {
|
if (p[0] == '\\') {
|
||||||
|
p++;
|
||||||
hex[0] = *p++;
|
hex[0] = *p++;
|
||||||
hex[1] = *p++;
|
hex[1] = *p;
|
||||||
hex[2] = '\0';
|
hex[2] = '\0';
|
||||||
Syslog('b', "binkp2unix hex=%s", hex);
|
Syslog('b', "binkp2unix hex=%s", hex);
|
||||||
sscanf(hex, "%2x", &c);
|
sscanf(hex, "%2x", &c);
|
||||||
|
Reference in New Issue
Block a user