mirror of
https://github.com/Savapitech/42sh.git
synced 2026-01-19 01:27:51 +01:00
[FIX] remove size in char [] for the alias
This commit is contained in:
@@ -35,7 +35,7 @@ static int skip_to_next_token(char *buffer, int i)
|
||||
static
|
||||
char *find_alias(his_variable_t *variable, alias_t *alias, char *buffer)
|
||||
{
|
||||
char cmd[variable->size_variable + 1];
|
||||
char cmd[variable->size_variable];
|
||||
char *new_cmd = NULL;
|
||||
|
||||
for (int i = variable->coord_variable; i !=
|
||||
|
||||
Reference in New Issue
Block a user