diff options
author | Julius Bünger <buenger@mytum.de> | 2019-04-26 05:56:54 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2019-04-26 05:56:54 +0200 |
commit | f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e (patch) | |
tree | 94055d2c049a65b5ab6c61fd3c5867fe49f6f429 /src/ats/plugin_ats2_simple.c | |
parent | a097690795f4f814de7cdbc97ef95fb899eeacd3 (diff) | |
download | gnunet-f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e.tar.gz gnunet-f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e.zip |
memcmp() -> GNUNET_memcmp(), first take
Diffstat (limited to 'src/ats/plugin_ats2_simple.c')
-rw-r--r-- | src/ats/plugin_ats2_simple.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ats/plugin_ats2_simple.c b/src/ats/plugin_ats2_simple.c index 449b50fb7..35a256f32 100644 --- a/src/ats/plugin_ats2_simple.c +++ b/src/ats/plugin_ats2_simple.c | |||
@@ -492,9 +492,8 @@ watch_cb (void *cls, | |||
492 | struct GNUNET_TIME_Absolute expiration; | 492 | struct GNUNET_TIME_Absolute expiration; |
493 | struct Hello *hello; | 493 | struct Hello *hello; |
494 | 494 | ||
495 | if (0 != memcmp (&p->pid, | 495 | if (0 != GNUNET_memcmp (&p->pid, |
496 | &record->peer, | 496 | &record->peer)) |
497 | sizeof (struct GNUNET_PeerIdentity))) | ||
498 | { | 497 | { |
499 | GNUNET_break (0); | 498 | GNUNET_break (0); |
500 | return; | 499 | return; |