On Apr 7, 2010, at 12:45 PM, David Piotrowski wrote:

> Hi,
> 
> I just noticed that for different compiles of the same program 
> Packet.payloadLength() returns different values for the same message_t 
> variable. I didn't change any code that has anything to do with that 
> message_t variable. I just stumbled accidently over this because I had a 
> printf() message printing the length of that variable. The values so far 
> ranged between about 50 to 210 bytes. Is that normal behaviour or should I 
> worry?

If the buffer is uninitialized, the return value is undefined.

Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to