degesch: actually avoid recursive aliases
This commit is contained in:
parent
dcb1d2f97b
commit
5ddf963e33
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user