libft norme OK

This commit is contained in:
gwojda 2017-03-22 17:23:14 +01:00
parent 89b0509723
commit 72c0a87dad
2 changed files with 6 additions and 6 deletions

View file

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* ft_vprintf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* By: jhalford <jhalford@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/20 15:52:57 by jhalford #+# #+# */
/* Updated: 2017/03/21 16:34:06 by jhalford ### ########.fr */
/* Updated: 2017/03/22 17:22:30 by gwojda ### ########.fr */
/* */
/* ************************************************************************** */

View file

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* fd_replace.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* By: jhalford <jhalford@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/21 16:32:26 by jhalford #+# #+# */
/* Updated: 2017/03/21 16:42:19 by jhalford ### ########.fr */
/* Updated: 2017/03/22 17:22:55 by gwojda ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,6 +15,6 @@
int fd_replace(int fd1, int fd2)
{
if (fd1 != fd2)
return(dup2_close(fd1, fd2));
return (dup2_close(fd1, fd2));
return (0);
}