util: fix handling of unknown escapes in cunescape()
This commit is contained in:
parent
3dab29438c
commit
f3d4cc0148
|
@ -1212,7 +1212,7 @@ char *cunescape(const char *s) {
|
|||
default:
|
||||
/* Invalid escape code, let's take it literal then */
|
||||
*(t++) = '\\';
|
||||
*(t++) = 'f';
|
||||
*(t++) = *f;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue