「✨」 feat: parsing protection working
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/07 15:10:29 by adjoly #+# #+# */
|
||||
/* Updated: 2024/07/31 15:59:39 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/08/06 19:46:32 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -20,7 +20,7 @@ int main(int ac, char **av)
|
||||
{
|
||||
t_pdata data;
|
||||
|
||||
data = philo_parse(av, ac);
|
||||
data = philo_parse(av + 1, ac);
|
||||
if (data.error == true)
|
||||
return (EXIT_FAILURE);
|
||||
init_fork(data);
|
||||
|
Reference in New Issue
Block a user