degesch: actually avoid recursive aliases

This commit is contained in:
Přemysl Eric Janouch 2015-07-11 01:46:11 +02:00
parent dcb1d2f97b
commit 5ddf963e33

View File

@ -7804,7 +7804,7 @@ process_input_utf8 (struct app_context *ctx, char *input, int alias_level)
else if (alias_level != 0) else if (alias_level != 0)
log_global_error (ctx, "#s: /#s", "Aliases can't nest", name); log_global_error (ctx, "#s: /#s", "Aliases can't nest", name);
else else
process_input_utf8 (ctx, expanded, alias_level++); process_input_utf8 (ctx, expanded, ++alias_level);
free (expanded); free (expanded);
} }