diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-21 13:17:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-21 13:17:49 +0000 |
commit | b69cbe3e0c7be5a7c2c22ca945ecf5a0d74c1dac (patch) | |
tree | 03c5312222706395ad6431e30ff962efc85041ac /src/nat/nat.c | |
parent | 9f108305f67680265f2ceb8a8c75c6e21a0735dd (diff) | |
download | gnunet-b69cbe3e0c7be5a7c2c22ca945ecf5a0d74c1dac.tar.gz gnunet-b69cbe3e0c7be5a7c2c22ca945ecf5a0d74c1dac.zip |
fix doxygen warning
Diffstat (limited to 'src/nat/nat.c')
-rw-r--r-- | src/nat/nat.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c index cb031d35d..794d9405c 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c | |||
@@ -369,24 +369,24 @@ GNUNET_NAT_register (struct GNUNET_SCHEDULER_Handle *sched, | |||
369 | * @param h the handle to stop | 369 | * @param h the handle to stop |
370 | */ | 370 | */ |
371 | void | 371 | void |
372 | GNUNET_NAT_unregister (struct GNUNET_NAT_Handle *nat) | 372 | GNUNET_NAT_unregister (struct GNUNET_NAT_Handle *h) |
373 | { | 373 | { |
374 | struct sockaddr *addr; | 374 | struct sockaddr *addr; |
375 | 375 | ||
376 | GNUNET_SCHEDULER_cancel (nat->sched, | 376 | GNUNET_SCHEDULER_cancel (h->sched, |
377 | nat->pulse_timer); | 377 | h->pulse_timer); |
378 | nat->upnp_status = | 378 | h->upnp_status = |
379 | GNUNET_NAT_UPNP_pulse (nat->upnp, | 379 | GNUNET_NAT_UPNP_pulse (h->upnp, |
380 | GNUNET_NO, GNUNET_NO, | 380 | GNUNET_NO, GNUNET_NO, |
381 | &addr); | 381 | &addr); |
382 | nat->natpmp_status = | 382 | h->natpmp_status = |
383 | GNUNET_NAT_NATPMP_pulse (nat->natpmp, GNUNET_NO, | 383 | GNUNET_NAT_NATPMP_pulse (h->natpmp, GNUNET_NO, |
384 | &addr); | 384 | &addr); |
385 | GNUNET_NAT_NATPMP_close (nat->natpmp); | 385 | GNUNET_NAT_NATPMP_close (h->natpmp); |
386 | GNUNET_NAT_UPNP_close (nat->upnp); | 386 | GNUNET_NAT_UPNP_close (h->upnp); |
387 | GNUNET_free_non_null (nat->local_addr); | 387 | GNUNET_free_non_null (h->local_addr); |
388 | GNUNET_free_non_null (nat->ext_addr); | 388 | GNUNET_free_non_null (h->ext_addr); |
389 | GNUNET_free (nat); | 389 | GNUNET_free (h); |
390 | } | 390 | } |
391 | 391 | ||
392 | /* end of nat.c */ | 392 | /* end of nat.c */ |