summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/fe-log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c
index e3c7a1f9..0de61681 100644
--- a/src/fe-common/core/fe-log.c
+++ b/src/fe-common/core/fe-log.c
@@ -390,8 +390,10 @@ static char *escape_target(const char *target)
else {
if (*target == '%')
*p++ = '%';
- *p++ = *target++;
+ *p++ = *target;
}
+
+ target++;
}
*p = '\0';