diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-06 21:03:07 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-06 21:03:07 +0100 |
commit | 874d8d3bbafb3d1919cfc6f21fdb780382f0d015 (patch) | |
tree | 6e1f455634bb1b5810e50e2c6e9e3515954ccf29 /src/ft_treat_args.c | |
parent | Fuck execve (diff) | |
download | 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.gz 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.bz2 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.xz 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.zst 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.zip |
boy
Diffstat (limited to 'src/ft_treat_args.c')
-rw-r--r-- | src/ft_treat_args.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_treat_args.c b/src/ft_treat_args.c index c4ffc98..79eedae 100644 --- a/src/ft_treat_args.c +++ b/src/ft_treat_args.c @@ -29,7 +29,7 @@ uint8_t } uint8_t - ft_use_args(int argc, const char *argv[], t_cub *clist) + ft_use_args(int argc, const char *argv[], char *const envp[], t_cub *clist) { if (argc < 3) { @@ -42,7 +42,7 @@ uint8_t clist->isoldmus = 1; clist->mpid = fork(); if (clist->mpid == 0) - ft_music_fork(clist->mlist.mcmd_words); + ft_music_fork(clist->mlist.mcmd_words, envp); } ft_hooks_and_loops(&clist->wlist, clist); } |