summaryrefslogtreecommitdiffstats
path: root/src/s_lalias.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_lalias.c')
-rw-r--r--src/s_lalias.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/s_lalias.c b/src/s_lalias.c
index b4b9430..eeac08b 100644
--- a/src/s_lalias.c
+++ b/src/s_lalias.c
@@ -19,15 +19,12 @@
#include "s_struct.h"
void
- s_lalias_rebind(t_lalias **lalias,
- const char newname[],
- const char newval[])
+ s_lalias_rebind(t_lalias **lalias, const char name[], const char newval[])
{
t_lalias *tmp;
tmp = *lalias;
- while (tmp != NULL &&
- ft_strncmp(tmp->name, newname, ft_strlen(newname) + 1) != 0)
+ while (tmp != NULL && ft_strncmp(tmp->name, name, ft_strlen(name) + 1) != 0)
{
tmp = tmp->next;
}