From 4ab87feccb530b7c3cf9ecc1aaf452c8b9dfbd09 Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Tue, 14 Mar 2017 21:51:19 +0100 Subject: [PATCH] cliopts update --- libftasm/includes/cliopts.h | 2 +- libftasm/src/cliopts/cliopts_get.c | 3 +-- libftasm/src/cliopts/cliopts_getdata.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/libftasm/includes/cliopts.h b/libftasm/includes/cliopts.h index 765f5464..6182e387 100644 --- a/libftasm/includes/cliopts.h +++ b/libftasm/includes/cliopts.h @@ -6,7 +6,7 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/03/14 20:22:56 by jhalford #+# #+# */ -/* Updated: 2017/03/14 20:47:45 by jhalford ### ########.fr */ +/* Updated: 2017/03/14 21:39:31 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ diff --git a/libftasm/src/cliopts/cliopts_get.c b/libftasm/src/cliopts/cliopts_get.c index e1c85e94..0882ed23 100644 --- a/libftasm/src/cliopts/cliopts_get.c +++ b/libftasm/src/cliopts/cliopts_get.c @@ -6,7 +6,7 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/03/14 20:04:04 by jhalford #+# #+# */ -/* Updated: 2017/03/14 20:58:37 by jhalford ### ########.fr */ +/* Updated: 2017/03/14 21:43:06 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ @@ -90,7 +90,6 @@ static int cliopts_parse_long(char ***av, t_cliopts opt_map[], void *data) int cliopts_get(char **av, t_cliopts opt_map[], void *data) { - ((t_data_template*)data)->flag = 0; if (!av) return (1); av++; diff --git a/libftasm/src/cliopts/cliopts_getdata.c b/libftasm/src/cliopts/cliopts_getdata.c index caca6575..1beb10cd 100644 --- a/libftasm/src/cliopts/cliopts_getdata.c +++ b/libftasm/src/cliopts/cliopts_getdata.c @@ -6,7 +6,7 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/03/14 20:35:15 by jhalford #+# #+# */ -/* Updated: 2017/03/14 20:55:01 by jhalford ### ########.fr */ +/* Updated: 2017/03/14 21:35:19 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */