aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-04-06 14:37:07 +0200
committerChristian Grothoff <christian@grothoff.org>2019-04-06 14:37:07 +0200
commitc57caa206c761424b73e900978edff0a1b8fca50 (patch)
tree66641306c9a1d196dfe9f82c863bada50fb86187 /src/fs/gnunet-service-fs.c
parentc0d08bbdeed4523cf89bf55b64ce2c16476c3e26 (diff)
downloadgnunet-c57caa206c761424b73e900978edff0a1b8fca50.tar.gz
gnunet-c57caa206c761424b73e900978edff0a1b8fca50.zip
introduce GNUNET_memcmp() and GNUNET_is_zero()
Diffstat (limited to 'src/fs/gnunet-service-fs.c')
-rw-r--r--src/fs/gnunet-service-fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c
index b9ccf7c55..691242ce3 100644
--- a/src/fs/gnunet-service-fs.c
+++ b/src/fs/gnunet-service-fs.c
@@ -1224,7 +1224,7 @@ static void
1224peer_init_handler (void *cls, 1224peer_init_handler (void *cls,
1225 const struct GNUNET_PeerIdentity *my_identity) 1225 const struct GNUNET_PeerIdentity *my_identity)
1226{ 1226{
1227 if (0 != GNUNET_CRYPTO_cmp_peer_identity (&GSF_my_id, 1227 if (0 != GNUNET_memcmp (&GSF_my_id,
1228 my_identity)) 1228 my_identity))
1229 { 1229 {
1230 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 1230 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,