aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r--src/transport/gnunet-service-transport_validation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index a79803afc..654bf52b8 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -218,7 +218,7 @@ struct ValidationEntry
218 size_t addrlen; 218 size_t addrlen;
219 219
220 /** 220 /**
221 * When passing the address in 'add_valid_peer_address', did we 221 * When passing the address in 'add_valid_peer_address', did we
222 * copy the address to the HELLO yet? 222 * copy the address to the HELLO yet?
223 */ 223 */
224 int copied; 224 int copied;
@@ -880,7 +880,7 @@ add_valid_peer_address (void *cls, size_t max, void *buf)
880 struct ValidationEntry *ve = cls; 880 struct ValidationEntry *ve = cls;
881 881
882 if (GNUNET_YES == ve->copied) 882 if (GNUNET_YES == ve->copied)
883 return 0; /* terminate */ 883 return 0; /* terminate */
884 ve->copied = GNUNET_YES; 884 ve->copied = GNUNET_YES;
885 return GNUNET_HELLO_add_address (ve->transport_name, ve->valid_until, 885 return GNUNET_HELLO_add_address (ve->transport_name, ve->valid_until,
886 ve->addr, ve->addrlen, buf, max); 886 ve->addr, ve->addrlen, buf, max);