diff options
author | t3sserakt <t3ss@posteo.de> | 2018-06-28 01:39:24 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2018-06-28 01:39:24 +0200 |
commit | 842f1d970c56228154aa7d0a027ebeec296b9036 (patch) | |
tree | 0e1098ed3b0f21fb83e4d853d404ce94358bf011 /src/cadet/gnunet-service-cadet.c | |
parent | f4279d5bfd1e10fa668a262226cb159910f08680 (diff) | |
download | gnunet-842f1d970c56228154aa7d0a027ebeec296b9036.tar.gz gnunet-842f1d970c56228154aa7d0a027ebeec296b9036.zip |
showing destination in path
Diffstat (limited to 'src/cadet/gnunet-service-cadet.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c index 712c6339a..4568d2733 100644 --- a/src/cadet/gnunet-service-cadet.c +++ b/src/cadet/gnunet-service-cadet.c | |||
@@ -881,7 +881,7 @@ path_info_iterator (void *cls, | |||
881 | unsigned int path_length; | 881 | unsigned int path_length; |
882 | 882 | ||
883 | path_length = GCPP_get_length (path); | 883 | path_length = GCPP_get_length (path); |
884 | path_size = sizeof (struct GNUNET_PeerIdentity) * (path_length - 1); | 884 | path_size = sizeof (struct GNUNET_PeerIdentity) * path_length; |
885 | if (sizeof (*resp) + path_size > UINT16_MAX) | 885 | if (sizeof (*resp) + path_size > UINT16_MAX) |
886 | { | 886 | { |
887 | LOG (GNUNET_ERROR_TYPE_WARNING, | 887 | LOG (GNUNET_ERROR_TYPE_WARNING, |