[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/ctp CtpForwardingEngineP.nc, 1.16, 1.17

Omprakash Gnawali gnawali at users.sourceforge.net
Mon Sep 29 12:24:40 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18569

Modified Files:
	CtpForwardingEngineP.nc 
Log Message:
senddone return value comply with the Send interface specification

Index: CtpForwardingEngineP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp/CtpForwardingEngineP.nc,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** CtpForwardingEngineP.nc	15 Aug 2008 21:57:31 -0000	1.16
--- CtpForwardingEngineP.nc	29 Sep 2008 19:24:37 -0000	1.17
***************
*** 577,581 ****
          if (qe->client < CLIENT_COUNT) { // Client packet
  	  clientPtrs[qe->client] = qe;
! 	  signal Send.sendDone[qe->client](msg, FAIL);
  	  call CollectionDebug.logEventMsg(NET_C_FE_SENDDONE_FAIL_ACK_SEND, 
  					   call CollectionPacket.getSequenceNumber(msg), 
--- 577,581 ----
          if (qe->client < CLIENT_COUNT) { // Client packet
  	  clientPtrs[qe->client] = qe;
! 	  signal Send.sendDone[qe->client](msg, SUCCESS);
  	  call CollectionDebug.logEventMsg(NET_C_FE_SENDDONE_FAIL_ACK_SEND, 
  					   call CollectionPacket.getSequenceNumber(msg), 



More information about the Tinyos-2-commits mailing list