aboutsummaryrefslogtreecommitdiff
path: root/src/hello/test_hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hello/test_hello.c')
-rw-r--r--src/hello/test_hello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hello/test_hello.c b/src/hello/test_hello.c
index ff80f1889..d5d30fa1c 100644
--- a/src/hello/test_hello.c
+++ b/src/hello/test_hello.c
@@ -25,7 +25,7 @@
25#include "platform.h" 25#include "platform.h"
26#include "gnunet_hello_lib.h" 26#include "gnunet_hello_lib.h"
27 27
28static size_t 28static ssize_t
29my_addr_gen (void *cls, size_t max, void *buf) 29my_addr_gen (void *cls, size_t max, void *buf)
30{ 30{
31 unsigned int *i = cls; 31 unsigned int *i = cls;
@@ -35,7 +35,7 @@ my_addr_gen (void *cls, size_t max, void *buf)
35 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 35 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
36 "DEBUG: my_addr_gen called with i = %d\n", *i); 36 "DEBUG: my_addr_gen called with i = %d\n", *i);
37 if (0 == *i) 37 if (0 == *i)
38 return 0; 38 return GNUNET_SYSERR;
39 memset (&address.peer, 0, sizeof (struct GNUNET_PeerIdentity)); 39 memset (&address.peer, 0, sizeof (struct GNUNET_PeerIdentity));
40 address.address = "address_information"; 40 address.address = "address_information";
41 address.transport_name = "test"; 41 address.transport_name = "test";