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_receive_cancel.c | |
parent | deaec843661af71fbea06125f79375e70c967345 (diff) | |
download | gnunet-cabc8ba699f76cab751b97014d9375ec74612448.tar.gz gnunet-cabc8ba699f76cab751b97014d9375ec74612448.zip |
naming
Diffstat (limited to 'src/util/test_connection_receive_cancel.c')
-rw-r--r-- | src/util/test_connection_receive_cancel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_connection_receive_cancel.c b/src/util/test_connection_receive_cancel.c index eb9d906ff..aa1340e02 100644 --- a/src/util/test_connection_receive_cancel.c +++ b/src/util/test_connection_receive_cancel.c | |||
@@ -38,7 +38,7 @@ static struct GNUNET_CONNECTION_Handle *asock; | |||
38 | 38 | ||
39 | static struct GNUNET_CONNECTION_Handle *lsock; | 39 | static struct GNUNET_CONNECTION_Handle *lsock; |
40 | 40 | ||
41 | static struct GNUNET_NETWORK_Descriptor *ls; | 41 | static struct GNUNET_NETWORK_Handle *ls; |
42 | 42 | ||
43 | static GNUNET_SCHEDULER_TaskIdentifier receive_task; | 43 | static GNUNET_SCHEDULER_TaskIdentifier receive_task; |
44 | 44 | ||
@@ -50,12 +50,12 @@ static GNUNET_SCHEDULER_TaskIdentifier receive_task; | |||
50 | * | 50 | * |
51 | * @return NULL on error, otherwise the listen socket | 51 | * @return NULL on error, otherwise the listen socket |
52 | */ | 52 | */ |
53 | static struct GNUNET_NETWORK_Descriptor * | 53 | static struct GNUNET_NETWORK_Handle * |
54 | open_listen_socket () | 54 | open_listen_socket () |
55 | { | 55 | { |
56 | const static int on = 1; | 56 | const static int on = 1; |
57 | struct sockaddr_in sa; | 57 | struct sockaddr_in sa; |
58 | struct GNUNET_NETWORK_Descriptor *desc; | 58 | struct GNUNET_NETWORK_Handle *desc; |
59 | 59 | ||
60 | memset (&sa, 0, sizeof (sa)); | 60 | memset (&sa, 0, sizeof (sa)); |
61 | sa.sin_port = htons (PORT); | 61 | sa.sin_port = htons (PORT); |