-fix i/j indexing confusion, resulting in array index out of bounds

git-svn-id: https://gnunet.org/svn/gnunet@34338 140774ce-b5e7-0310-ab8b-a85725594a96
-avoid leaking trail by avoiding allocation in the first place, use unsigned as appropriate, eliminate useless return

git-svn-id: https://gnunet.org/svn/gnunet@34339 140774ce-b5e7-0310-ab8b-a85725594a96
-remove superflous semicolon causing branch to be always taken and significant logic to be omitted; pass pointers to HashCode and PeerIdentities instead of making copies

git-svn-id: https://gnunet.org/svn/gnunet@34340 140774ce-b5e7-0310-ab8b-a85725594a96
-remove superflous semicolon, causing logic to be executed despite condition not being satisfied

git-svn-id: https://gnunet.org/svn/gnunet@34341 140774ce-b5e7-0310-ab8b-a85725594a96
-remove dead assignment

git-svn-id: https://gnunet.org/svn/gnunet@34342 140774ce-b5e7-0310-ab8b-a85725594a96
-eliminate leak

git-svn-id: https://gnunet.org/svn/gnunet@34343 140774ce-b5e7-0310-ab8b-a85725594a96
-eliminate dead code

git-svn-id: https://gnunet.org/svn/gnunet@34344 140774ce-b5e7-0310-ab8b-a85725594a96
-fix leak of sockaddr

git-svn-id: https://gnunet.org/svn/gnunet@34345 140774ce-b5e7-0310-ab8b-a85725594a96
-fix leak

git-svn-id: https://gnunet.org/svn/gnunet@34346 140774ce-b5e7-0310-ab8b-a85725594a96
-add assertion

git-svn-id: https://gnunet.org/svn/gnunet@34347 140774ce-b5e7-0310-ab8b-a85725594a96
-add missing break

git-svn-id: https://gnunet.org/svn/gnunet@34348 140774ce-b5e7-0310-ab8b-a85725594a96
-actually enable logic to drop part of path to fit message size, check against correct constant

git-svn-id: https://gnunet.org/svn/gnunet@34349 140774ce-b5e7-0310-ab8b-a85725594a96