util: fix handling of unknown escapes in cunescape()
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user