projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memcmp() -> GNUNET_memcmp(), first take
[oweals/gnunet.git]
/
src
/
pt
/
gnunet-daemon-pt.c
diff --git
a/src/pt/gnunet-daemon-pt.c
b/src/pt/gnunet-daemon-pt.c
index 6a07b6e423763294bd36e671254cc12c713d04b3..cd17c2b7bc34dde2ce468ad6b81747fa4583d25a 100644
(file)
--- a/
src/pt/gnunet-daemon-pt.c
+++ b/
src/pt/gnunet-daemon-pt.c
@@
-1151,9
+1151,8
@@
handle_dht_result (void *cls,
}
ad = data;
for (exit = exit_head; NULL != exit; exit = exit->next)
- if (0 == memcmp (&ad->peer,
- &exit->peer,
- sizeof (struct GNUNET_PeerIdentity)))
+ if (0 == GNUNET_memcmp (&ad->peer,
+ &exit->peer))
break;
if (NULL == exit)
{