diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_music.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_get_music.c b/src/ft_get_music.c index 0b6fede..b232980 100644 --- a/src/ft_get_music.c +++ b/src/ft_get_music.c @@ -22,7 +22,6 @@ int8_t ft_sprintf(clist->errmsg, FT_ERR_ARGS); return (-1); } - ft_printf("%s", *(words + 1)); if (ft_check_ext(*(words + 1), ".wav") < 0) { ft_sprintf(clist->errmsg, FT_ERR_NOT_A_WAV); @@ -34,7 +33,7 @@ int8_t ft_sprintf(clist->errmsg, FT_ERR_ALLOCATE); return (-1); } - if (ft_check_not_found(clist->mlist->nlevel_path) < 0) + if (ft_check_not_found(clist->mlist->music_path) < 0) { ft_sprintf(clist->errmsg, FT_ERR_RD_MUSIC); return (-1); |