Giter Club home page Giter Club logo

Comments (3)

tinyos-issues avatar tinyos-issues commented on July 19, 2024

From [email protected] on January 13, 2011 17:08:39
I see line 224 as

event message_t* ProbeReceive.receive( message_t* msg,
void* payload,
uint8_t len) {

dissemination_probe_message_t* dpMsg = 

224-> (dissemination_probe_message_t*) payload;

if ( !m_running ) { return msg; }

if ( call DisseminationCache.requestSeqno[ dpMsg->key ]() != 
 DISSEMINATION_SEQNO_UNKNOWN ) {    
  sendObject( dpMsg->key );
}

return msg;

}

Which version of the file are you looking at?

It looks a cleaner fix is to put the m_buf and running check in sendObject, then remove the individual tests from call points. Would you agree?

from tinyos-main.

tinyos-issues avatar tinyos-issues commented on July 19, 2024

From mortenthansen on January 15, 2011 03:08:55
Yeah not sure what version I was looking at when I reported it. But think I was referring to line 211. As far as I can see all the "probe" code (the sendProbe function) does not seem to be used anymore.

I agree that moving the checks to the sendObject function would be the right thing to do.

from tinyos-main.

tinyos-issues avatar tinyos-issues commented on July 19, 2024

From [email protected] on January 21, 2011 17:41:40
I applied the bug fix, moving the check within sendObject().

from tinyos-main.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.