mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-07 11:08:36 +00:00
fix rhizome/mdp debugging for when slot is NULL.
This commit is contained in:
parent
24f4b789f3
commit
39785313f3
@ -1371,7 +1371,7 @@ int rhizome_received_content(unsigned char *bidprefix,
|
||||
} else {
|
||||
if (config.debug.rhizome)
|
||||
DEBUGF("Ignoring received block: slot=%p, version=%016llx, slot->bidVersion=%016llx, slot->state=%d (should be %d)",
|
||||
slot,version,slot->bidVersion,slot->state,RHIZOME_FETCH_RXFILEMDP);
|
||||
slot,version,slot?slot->bidVersion:0,slot?slot->state:-999,RHIZOME_FETCH_RXFILEMDP);
|
||||
}
|
||||
|
||||
// if we get a packet containing an entire payload
|
||||
|
Loading…
x
Reference in New Issue
Block a user