aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-08 23:20:42 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-08 23:20:42 +0000
commita983a0267109b1b6a8e16e476e2f2956a8771b94 (patch)
tree79bcae73cdb7b87b4f55d4396e79baea76ef53a6 /src/testing
parenta3f8ef5b89dc44fc3acfb8f081a502f3409e4224 (diff)
downloadgnunet-a983a0267109b1b6a8e16e476e2f2956a8771b94.tar.gz
gnunet-a983a0267109b1b6a8e16e476e2f2956a8771b94.zip
refactoring how we handle peer addresses in peerinfo/ats/transport/hello subsystems -- use a struct instead of 3--4 arguments
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index 175888621..8524e62ed 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -65,9 +65,9 @@ static struct GNUNET_CORE_MessageHandler no_handlers[] = { {NULL, 0, 0} };
65 65
66#if EMPTY_HACK 66#if EMPTY_HACK
67static int 67static int
68test_address (void *cls, const char *tname, 68test_address (void *cls,
69 struct GNUNET_TIME_Absolute expiration, const void *addr, 69 const struct GNUNET_HELLO_Address *address,
70 uint16_t addrlen) 70 struct GNUNET_TIME_Absolute expiration)
71{ 71{
72 int *empty = cls; 72 int *empty = cls;
73 73