Explorar el Código

cmRtNet.c: More changes to cmRtNetTest().

master
kpl hace 11 años
padre
commit
01973701f8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      cmRtNet.c

+ 1
- 1
cmRtNet.c Ver fichero

@@ -483,7 +483,7 @@ cmRtNetRC_t _cmRtNetSendAck( cmRtNet_t* p, cmRtNetSelId_t ackSelId, const struct
483 483
 {
484 484
   cmRtNetNode_t* np;
485 485
 
486
-  if((np = _cmRtNetFindNodeFromSockAddr(p,saddr)) != NULL )
486
+  if((np = _cmRtNetFindNodeFromSockAddr(p,saddr)) == NULL )
487 487
     return cmErrMsg(&p->err,kNodeNotFoundNetRC,"The net node associated with an ack cmd was not found. Ack not sent.");
488 488
 
489 489
   return _cmRtNetSendSyncMsg(p,np,ackSelId,NULL,cmInvalidId,kInvalidStNetId);

Loading…
Cancelar
Guardar