diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
commit | 75a33a1499cf60ea4364c9aa673816629a6c1413 (patch) | |
tree | 0620da4312bb04de4d7b65074fdd3b0c3dd6cc0e /src/transport/transport_api_address_lookup.c | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/transport/transport_api_address_lookup.c')
-rw-r--r-- | src/transport/transport_api_address_lookup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/transport/transport_api_address_lookup.c b/src/transport/transport_api_address_lookup.c index cb15f0565..022d5f03b 100644 --- a/src/transport/transport_api_address_lookup.c +++ b/src/transport/transport_api_address_lookup.c | |||
@@ -108,7 +108,6 @@ address_response_processor (void *cls, | |||
108 | /** | 108 | /** |
109 | * Convert a binary address into a human readable address. | 109 | * Convert a binary address into a human readable address. |
110 | * | 110 | * |
111 | * @param sched scheduler to use | ||
112 | * @param cfg configuration to use | 111 | * @param cfg configuration to use |
113 | * @param address address to convert (binary format) | 112 | * @param address address to convert (binary format) |
114 | * @param addressLen number of bytes in address | 113 | * @param addressLen number of bytes in address |
@@ -120,8 +119,7 @@ address_response_processor (void *cls, | |||
120 | * @param aluc_cls closure for aluc | 119 | * @param aluc_cls closure for aluc |
121 | */ | 120 | */ |
122 | void | 121 | void |
123 | GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched, | 122 | GNUNET_TRANSPORT_address_lookup (const struct GNUNET_CONFIGURATION_Handle *cfg, |
124 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
125 | const char *address, | 123 | const char *address, |
126 | size_t addressLen, | 124 | size_t addressLen, |
127 | int numeric, | 125 | int numeric, |
@@ -146,7 +144,7 @@ GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched, | |||
146 | aluc (aluc_cls, NULL); | 144 | aluc (aluc_cls, NULL); |
147 | return; | 145 | return; |
148 | } | 146 | } |
149 | client = GNUNET_CLIENT_connect (sched, "transport", cfg); | 147 | client = GNUNET_CLIENT_connect ("transport", cfg); |
150 | if (client == NULL) | 148 | if (client == NULL) |
151 | { | 149 | { |
152 | aluc (aluc_cls, NULL); | 150 | aluc (aluc_cls, NULL); |