diff options
Diffstat (limited to 'src/ft_get_res.c')
-rw-r--r-- | src/ft_get_res.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/ft_get_res.c b/src/ft_get_res.c index ff39280..c610fc1 100644 --- a/src/ft_get_res.c +++ b/src/ft_get_res.c @@ -12,12 +12,11 @@ ft_get_res(int fd, t_win *wlist) get_next_line(fd, &line); words = ft_split(line, ' '); i = 0; - ft_printf("%s\n", line); - /* while (words) */ - /* { */ - /* ft_printf("[%s] ", words[i]); */ - /* i++; */ - /* } */ - /* ft_printf("\n"); */ + while (words) + { + ft_printf("[%s] ", words[i]); + i++; + } + ft_printf("\n"); return (0); } |