aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-07-11 01:46:11 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-07-11 01:46:11 +0200
commit5ddf963e33da8d4592623363019a8d2858002623 (patch)
tree9b16e508bf380746ed525beb28bb1293590786ed
parentdcb1d2f97b24f4fd80290bf5c2742ab1b4ef0654 (diff)
downloadxK-5ddf963e33da8d4592623363019a8d2858002623.tar.gz
xK-5ddf963e33da8d4592623363019a8d2858002623.tar.xz
xK-5ddf963e33da8d4592623363019a8d2858002623.zip
degesch: actually avoid recursive aliases
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 132fcec..440b588 100644
--- a/degesch.c
+++ b/degesch.c
@@ -7804,7 +7804,7 @@ process_input_utf8 (struct app_context *ctx, char *input, int alias_level)
else if (alias_level != 0)
log_global_error (ctx, "#s: /#s", "Aliases can't nest", name);
else
- process_input_utf8 (ctx, expanded, alias_level++);
+ process_input_utf8 (ctx, expanded, ++alias_level);
free (expanded);
}