remove forbidden function fcntl, add early stop for errors during parsing, remove debug print

This commit is contained in:
2025-08-08 22:33:12 +02:00
parent 0eb1e9055d
commit 43e47f89aa
3 changed files with 8 additions and 7 deletions

View File

@ -6,7 +6,7 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/01 17:38:58 by tomoron #+# #+# */
/* Updated: 2025/06/03 00:27:30 by tomoron ### ########.fr */
/* Updated: 2025/08/08 22:24:42 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -50,7 +50,6 @@ t_waitlist *waitlist_remove(t_waitlist **lst, t_icmp_ip_reply *res, int is_ttl_e
res->icmp.sequence = htons(res->icmp.sequence);
while(cur && cur->seq != res->icmp.sequence)
{
printf("%d, %d\n", cur->seq, res->icmp.sequence);
prev = cur;
cur = cur->next;
}