cliopts update

This commit is contained in:
Jack Halford 2017-03-14 21:51:19 +01:00
parent 599ca54b5e
commit 9220a523cb
3 changed files with 3 additions and 4 deletions

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */ /* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/14 20:22:56 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 */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */ /* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/14 20:04:04 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) int cliopts_get(char **av, t_cliopts opt_map[], void *data)
{ {
((t_data_template*)data)->flag = 0;
if (!av) if (!av)
return (1); return (1);
av++; av++;

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */ /* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/14 20:35:15 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 */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */