--- rpl/src/instructions_c9.c 2023/11/24 09:12:57 1.30 +++ rpl/src/instructions_c9.c 2023/11/24 10:58:21 1.31 @@ -226,6 +226,8 @@ instruction_clrsock(struct_processus *s_ if ((*s_objet_argument).type == SCK) { + socket = -1; + l_element_courant = (*s_etat_processus).s_sockets; l_element_precedent = NULL;