Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@schmittner
Copy link
Contributor

See commit messages.

The current method to copy a message is a bit awkward: it first
creates a new message and then copies some fields from the original
message, leading to some fields being initialized twice.
This patch makes the procedure cleaner and more efficient.
…acted

So there is no need to perform another replication within that method.
This patch requires to remove the (useless) call to addNodeOnPath()
within DTNHost#receiveMessage() because the node would otherwise
be added twice to the same message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant