From f3d4cc01488e4b7acf05da02b487f93ae9744337 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Jul 2010 20:57:10 +0200 Subject: [PATCH] util: fix handling of unknown escapes in cunescape() --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 8360eb68..78eb7281 100644 --- a/src/util.c +++ b/src/util.c @@ -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; } } -- 2.39.5