From 5ddf963e33da8d4592623363019a8d2858002623 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 11 Jul 2015 01:46:11 +0200
Subject: degesch: actually avoid recursive aliases
---
degesch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
--
cgit v1.2.3-70-g09d2