diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-13 23:42:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-13 23:42:29 +0100 |
commit | a2de1176e7872185a8a6b0ce7cbc93bf30f0b395 (patch) | |
tree | c5bb96fcce38d380aa488ef6babc11d679d06395 /src/transport/gnunet-service-transport_validation.c | |
parent | 5ad1c50a13484450f71e4b248f08fd2c6a369d6d (diff) | |
download | gnunet-a2de1176e7872185a8a6b0ce7cbc93bf30f0b395.tar.gz gnunet-a2de1176e7872185a8a6b0ce7cbc93bf30f0b395.zip |
trying to improve things for #5560
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r-- | src/transport/gnunet-service-transport_validation.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c index 8d22d0c7a..6abe8d2d2 100644 --- a/src/transport/gnunet-service-transport_validation.c +++ b/src/transport/gnunet-service-transport_validation.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -1115,7 +1115,8 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | |||
1115 | } | 1115 | } |
1116 | ping = (const struct TransportPingMessage *) hdr; | 1116 | ping = (const struct TransportPingMessage *) hdr; |
1117 | if (0 != | 1117 | if (0 != |
1118 | memcmp (&ping->target, &GST_my_identity, | 1118 | memcmp (&ping->target, |
1119 | &GST_my_identity, | ||
1119 | sizeof (struct GNUNET_PeerIdentity))) | 1120 | sizeof (struct GNUNET_PeerIdentity))) |
1120 | { | 1121 | { |
1121 | GNUNET_STATISTICS_update (GST_stats, | 1122 | GNUNET_STATISTICS_update (GST_stats, |