Skip to content

Commit

Permalink
ft_putstr : write a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Walid Araissi committed Nov 10, 2022
1 parent d96a5a4 commit 89a6656
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ft_putstr.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: waraissi <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/09 18:41:53 by waraissi #+# #+# */
/* Updated: 2022/11/10 17:26:59 by waraissi ### ########.fr */
/* Updated: 2022/11/10 18:16:45 by waraissi ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -19,7 +19,7 @@ void ft_putstr(char *s, int *res)
i = 0;
if (!s)
{
write(1,"(null)",6);
write(1, "(null)", 6);
*res += 6;
}
else
Expand All @@ -30,4 +30,4 @@ void ft_putstr(char *s, int *res)
i++;
}
}
}
}

0 comments on commit 89a6656

Please sign in to comment.