diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
commit | f6faf88cd0991be3184af67d5fa271b12f70e925 (patch) | |
tree | 02c283541fd2c0b4ccacd31172cccf2ba9711c51 /src/s_lredir.c | |
parent | Norming in progress (diff) | |
download | 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.gz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.bz2 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.xz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.zst 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.zip |
Norming
Diffstat (limited to 'src/s_lredir.c')
-rw-r--r-- | src/s_lredir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s_lredir.c b/src/s_lredir.c index 517c2de..1074382 100644 --- a/src/s_lredir.c +++ b/src/s_lredir.c @@ -68,10 +68,10 @@ void s_lredir_clear(struct s_lredir **lredir) *lredir = NULL; } -static int s_get_right_fd(const char path[]) +static int s_get_right_fd(const char path[]) { char *ptr; - int rfd; + int rfd; ptr = (char*)path; while (ft_isdigit(*ptr) == TRUE) |