diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-01-03 14:21:25 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-01-03 14:21:25 +0000 |
commit | 748e690fe49e2639076cb76e6a4a4c5eb04e130e (patch) | |
tree | f76bcad30b4efc1f8daaf309ba38c3496603ce82 /src/peerinfo/perf_peerinfo_api.c | |
parent | cb3c882dbb05a797728dfd8b5983ade5a8999eac (diff) | |
download | gnunet-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-x | src/peerinfo/perf_peerinfo_api.c | 3 |
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) | |||
107 | static void | 107 | static void |
108 | process (void *cls, | 108 | process (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 | { |