aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/perf_peerinfo_api.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-01-03 14:21:25 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-01-03 14:21:25 +0000
commit748e690fe49e2639076cb76e6a4a4c5eb04e130e (patch)
treef76bcad30b4efc1f8daaf309ba38c3496603ce82 /src/peerinfo/perf_peerinfo_api.c
parentcb3c882dbb05a797728dfd8b5983ade5a8999eac (diff)
downloadgnunet-748e690fe49e2639076cb76e6a4a4c5eb04e130e.tar.gz
gnunet-748e690fe49e2639076cb76e6a4a4c5eb04e130e.zip
Changed peerinfo api to distinguish between last element and timeout
Diffstat (limited to 'src/peerinfo/perf_peerinfo_api.c')
-rwxr-xr-xsrc/peerinfo/perf_peerinfo_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c
index 1de0f4615..4cae7ab60 100755
--- a/src/peerinfo/perf_peerinfo_api.c
+++ b/src/peerinfo/perf_peerinfo_api.c
@@ -107,7 +107,8 @@ add_peer (size_t i)
107static void 107static void
108process (void *cls, 108process (void *cls,
109 const struct GNUNET_PeerIdentity *peer, 109 const struct GNUNET_PeerIdentity *peer,
110 const struct GNUNET_HELLO_Message *hello) 110 const struct GNUNET_HELLO_Message *hello,
111 const char * err_msg)
111{ 112{
112 if (peer == NULL) 113 if (peer == NULL)
113 { 114 {