diff options
author | Nils Durner <durner@gnunet.org> | 2009-08-29 22:06:43 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2009-08-29 22:06:43 +0000 |
commit | cabc8ba699f76cab751b97014d9375ec74612448 (patch) | |
tree | 368ad5a5343a73b2e9ccd862f31efebfd4106f65 /src/util/test_connection_timeout.c | |
parent | deaec843661af71fbea06125f79375e70c967345 (diff) | |
download | gnunet-cabc8ba699f76cab751b97014d9375ec74612448.tar.gz gnunet-cabc8ba699f76cab751b97014d9375ec74612448.zip |
naming
Diffstat (limited to 'src/util/test_connection_timeout.c')
-rw-r--r-- | src/util/test_connection_timeout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_connection_timeout.c b/src/util/test_connection_timeout.c index 289bb102a..2580ae30a 100644 --- a/src/util/test_connection_timeout.c +++ b/src/util/test_connection_timeout.c | |||
@@ -35,7 +35,7 @@ static struct GNUNET_CONNECTION_Handle *csock; | |||
35 | 35 | ||
36 | static struct GNUNET_CONNECTION_Handle *lsock; | 36 | static struct GNUNET_CONNECTION_Handle *lsock; |
37 | 37 | ||
38 | static struct GNUNET_NETWORK_Descriptor *ls; | 38 | static struct GNUNET_NETWORK_Handle *ls; |
39 | 39 | ||
40 | 40 | ||
41 | /** | 41 | /** |
@@ -43,12 +43,12 @@ static struct GNUNET_NETWORK_Descriptor *ls; | |||
43 | * | 43 | * |
44 | * @return NULL on error, otherwise the listen socket | 44 | * @return NULL on error, otherwise the listen socket |
45 | */ | 45 | */ |
46 | static struct GNUNET_NETWORK_Descriptor * | 46 | static struct GNUNET_NETWORK_Handle * |
47 | open_listen_socket () | 47 | open_listen_socket () |
48 | { | 48 | { |
49 | const static int on = 1; | 49 | const static int on = 1; |
50 | struct sockaddr_in sa; | 50 | struct sockaddr_in sa; |
51 | struct GNUNET_NETWORK_Descriptor *desc; | 51 | struct GNUNET_NETWORK_Handle *desc; |
52 | 52 | ||
53 | memset (&sa, 0, sizeof (sa)); | 53 | memset (&sa, 0, sizeof (sa)); |
54 | sa.sin_port = htons (PORT); | 54 | sa.sin_port = htons (PORT); |