aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-26 20:25:37 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-26 20:25:37 +0200
commitaa78134a557079ce570345e751e4c36c4b2ba79a (patch)
treef7bf25950513285184e2426109235337d0aef8be /src/transport/plugin_transport_http_common.c
parent1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff)
downloadgnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz
gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip
-fix many more typos
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r--src/transport/plugin_transport_http_common.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c
index 0e3778837..75bf8b74a 100644
--- a/src/transport/plugin_transport_http_common.c
+++ b/src/transport/plugin_transport_http_common.c
@@ -210,7 +210,7 @@ struct PrettyPrinterContext
210 struct GNUNET_SCHEDULER_Task *timeout_task; 210 struct GNUNET_SCHEDULER_Task *timeout_task;
211 211
212 /** 212 /**
213 * Splitted Address 213 * Split Address
214 */ 214 */
215 struct SplittedHTTPAddress *saddr; 215 struct SplittedHTTPAddress *saddr;
216 216
@@ -222,7 +222,7 @@ struct PrettyPrinterContext
222 /** 222 /**
223 * Was conversion successful 223 * Was conversion successful
224 */ 224 */
225 int sucess; 225 int success;
226 226
227 /** 227 /**
228 * Address options 228 * Address options
@@ -247,7 +247,7 @@ static struct PrettyPrinterContext *dll_ppc_tail;
247 * to override the address again. 247 * to override the address again.
248 * 248 *
249 * @param plugin the name of the plugin 249 * @param plugin the name of the plugin
250 * @param saddr the splitted http address 250 * @param saddr the split http address
251 * @param options address options 251 * @param options address options
252 * @param dnsresult dns name to include in address 252 * @param dnsresult dns name to include in address
253 * @return string representing the same address or NULL on error 253 * @return string representing the same address or NULL on error
@@ -287,12 +287,12 @@ http_common_dns_reverse_lookup_cb (void *cls, const char *hostname)
287 http_common_plugin_dnsresult_to_address (ppc->plugin, ppc->saddr, 287 http_common_plugin_dnsresult_to_address (ppc->plugin, ppc->saddr,
288 ppc->options, 288 ppc->options,
289 hostname), GNUNET_OK); 289 hostname), GNUNET_OK);
290 ppc->sucess = GNUNET_YES; 290 ppc->success = GNUNET_YES;
291 } 291 }
292 else 292 else
293 { 293 {
294 ppc->asc (ppc->asc_cls, NULL, 294 ppc->asc (ppc->asc_cls, NULL,
295 (GNUNET_NO == ppc->sucess) ? GNUNET_SYSERR : GNUNET_OK); 295 (GNUNET_NO == ppc->success) ? GNUNET_SYSERR : GNUNET_OK);
296 296
297 GNUNET_CONTAINER_DLL_remove (dll_ppc_head, dll_ppc_tail, ppc); 297 GNUNET_CONTAINER_DLL_remove (dll_ppc_head, dll_ppc_tail, ppc);
298 http_clean_splitted (ppc->saddr); 298 http_clean_splitted (ppc->saddr);
@@ -355,13 +355,13 @@ http_common_dns_ip_lookup_cb (void *cls,
355 GNUNET_a2s (addr, 355 GNUNET_a2s (addr,
356 addrlen)), 356 addrlen)),
357 GNUNET_OK); 357 GNUNET_OK);
358 ppc->sucess = GNUNET_YES; 358 ppc->success = GNUNET_YES;
359 ppc->asc (ppc->asc_cls, GNUNET_a2s (addr, addrlen), GNUNET_OK); 359 ppc->asc (ppc->asc_cls, GNUNET_a2s (addr, addrlen), GNUNET_OK);
360 } 360 }
361 else 361 else
362 { 362 {
363 ppc->asc (ppc->asc_cls, NULL, 363 ppc->asc (ppc->asc_cls, NULL,
364 (GNUNET_NO == ppc->sucess) ? GNUNET_SYSERR : GNUNET_OK); 364 (GNUNET_NO == ppc->success) ? GNUNET_SYSERR : GNUNET_OK);
365 365
366 GNUNET_CONTAINER_DLL_remove (dll_ppc_head, dll_ppc_tail, ppc); 366 GNUNET_CONTAINER_DLL_remove (dll_ppc_head, dll_ppc_tail, ppc);
367 GNUNET_free (ppc->plugin); 367 GNUNET_free (ppc->plugin);
@@ -383,7 +383,7 @@ http_common_dns_ip_lookup (const char *name,
383 struct PrettyPrinterContext *ppc; 383 struct PrettyPrinterContext *ppc;
384 384
385 ppc = GNUNET_new (struct PrettyPrinterContext); 385 ppc = GNUNET_new (struct PrettyPrinterContext);
386 ppc->sucess = GNUNET_NO; 386 ppc->success = GNUNET_NO;
387 ppc->saddr = saddr; 387 ppc->saddr = saddr;
388 ppc->asc = asc; 388 ppc->asc = asc;
389 ppc->asc_cls = asc_cls; 389 ppc->asc_cls = asc_cls;