diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-04-06 14:37:07 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-04-06 14:37:07 +0200 |
commit | c57caa206c761424b73e900978edff0a1b8fca50 (patch) | |
tree | 66641306c9a1d196dfe9f82c863bada50fb86187 /src/fs/gnunet-service-fs.c | |
parent | c0d08bbdeed4523cf89bf55b64ce2c16476c3e26 (diff) | |
download | gnunet-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.c | 2 |
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 | |||
1224 | peer_init_handler (void *cls, | 1224 | peer_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, |