Diff for /rpl/src/instructions_w1.c between versions 1.125 and 1.127

version 1.125, 2023/08/07 17:42:59 version 1.127, 2023/11/24 08:10:19
Line 3280  instruction_wfsock(struct_processus *s_e Line 3280  instruction_wfsock(struct_processus *s_e
                 (*s_objet_argument).objet)).type, "SEQUENTIAL DATAGRAM") != 0))                  (*s_objet_argument).objet)).type, "SEQUENTIAL DATAGRAM") != 0))
         {          {
             // Mode non connecté : l'attente se fait sur un poll()              // Mode non connecté : l'attente se fait sur un poll()
   #define DEBUG_RETURN
             if ((s_objet_resultat = copie_objet(s_etat_processus,              if ((s_objet_resultat = copie_objet(s_etat_processus,
                     s_objet_argument, 'P')) == NULL)                      s_objet_argument, 'P')) == NULL)
             {              {
Line 3482  instruction_wfsock(struct_processus *s_e Line 3482  instruction_wfsock(struct_processus *s_e
                     }                      }
                 } while(drapeau == d_faux);                  } while(drapeau == d_faux);
   
   printf("socket: %d\n", (*((struct_socket *) (*s_objet_resultat).objet)).socket);
                 if (((*((struct_socket *) (*s_objet_resultat).objet))                  if (((*((struct_socket *) (*s_objet_resultat).objet))
                         .adresse_distante = malloc(22 *                          .adresse_distante = malloc(22 *
                         sizeof(unsigned char))) == NULL)                          sizeof(unsigned char))) == NULL)

Removed from v.1.125  
changed lines
  Added in v.1.127


CVSweb interface <joel.bertrand@systella.fr>