summaryrefslogtreecommitdiff
path: root/src/core/special-vars.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/special-vars.c')
-rw-r--r--src/core/special-vars.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/special-vars.c b/src/core/special-vars.c
index d4548715..33e9fce7 100644
--- a/src/core/special-vars.c
+++ b/src/core/special-vars.c
@@ -451,7 +451,7 @@ char *parse_special(char **cmd, SERVER_REC *server, void *item,
static void gstring_append_escaped(GString *str, const char *text, int flags)
{
char esc[4], *escpos;
-
+
escpos = esc;
if (flags & PARSE_FLAG_ESCAPE_VARS)
*escpos++ = '%';
@@ -465,7 +465,7 @@ static void gstring_append_escaped(GString *str, const char *text, int flags)
return;
}
- *escpos = '\0';
+ *escpos = '\0';
while (*text != '\0') {
for (escpos = esc; *escpos != '\0'; escpos++) {
if (*text == *escpos) {