aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_connection_addressing.c
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2009-08-29 22:06:43 +0000
committerNils Durner <durner@gnunet.org>2009-08-29 22:06:43 +0000
commitcabc8ba699f76cab751b97014d9375ec74612448 (patch)
tree368ad5a5343a73b2e9ccd862f31efebfd4106f65 /src/util/test_connection_addressing.c
parentdeaec843661af71fbea06125f79375e70c967345 (diff)
downloadgnunet-cabc8ba699f76cab751b97014d9375ec74612448.tar.gz
gnunet-cabc8ba699f76cab751b97014d9375ec74612448.zip
naming
Diffstat (limited to 'src/util/test_connection_addressing.c')
-rw-r--r--src/util/test_connection_addressing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_connection_addressing.c b/src/util/test_connection_addressing.c
index de11560d3..17ef4d11a 100644
--- a/src/util/test_connection_addressing.c
+++ b/src/util/test_connection_addressing.c
@@ -40,7 +40,7 @@ static struct GNUNET_CONNECTION_Handle *lsock;
40 40
41static size_t sofar; 41static size_t sofar;
42 42
43static struct GNUNET_NETWORK_Descriptor *ls; 43static struct GNUNET_NETWORK_Handle *ls;
44 44
45 45
46 46
@@ -49,12 +49,12 @@ static struct GNUNET_NETWORK_Descriptor *ls;
49 * 49 *
50 * @return NULL on error, otherwise the listen socket 50 * @return NULL on error, otherwise the listen socket
51 */ 51 */
52static struct GNUNET_NETWORK_Descriptor * 52static struct GNUNET_NETWORK_Handle *
53open_listen_socket () 53open_listen_socket ()
54{ 54{
55 const static int on = 1; 55 const static int on = 1;
56 struct sockaddr_in sa; 56 struct sockaddr_in sa;
57 struct GNUNET_NETWORK_Descriptor *desc; 57 struct GNUNET_NETWORK_Handle *desc;
58 58
59 memset (&sa, 0, sizeof (sa)); 59 memset (&sa, 0, sizeof (sa));
60 sa.sin_port = htons (PORT); 60 sa.sin_port = htons (PORT);