Fixed failing test and discrepancy between documentation and implemented functionality:
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 3 Jan 2011 10:28:17 +0000 (10:28 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 3 Jan 2011 10:28:17 +0000 (10:28 +0000)
commit320c2d50b722eeffc50cd6db0c5361886ee750b0
tree73d94d4766a398e58e68998db8d3538557eb2a75
parentb85229645add2ce8255eb8ee620b6807a96f8e81
Fixed failing test and discrepancy between documentation and implemented functionality:

GNUNET_PEERINFO_iterate never returns NULL, but always an iterator context
GNUNET_PEERINFO_iterate calls callback with Peer==NULL and HELLO==NULL when timeout occurs
src/peerinfo-tool/gnunet-peerinfo.c
src/peerinfo/peerinfo_api.c