From 0d52fb20708efc717f7568b36329d73553e3d1bb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 11 Jan 2017 19:57:36 +0100 Subject: fix FTBFS --- src/nat/nat_api_stun.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/nat/nat_api_stun.c') diff --git a/src/nat/nat_api_stun.c b/src/nat/nat_api_stun.c index 7f2ef4eaf..b1309fb53 100644 --- a/src/nat/nat_api_stun.c +++ b/src/nat/nat_api_stun.c @@ -38,7 +38,7 @@ #include "platform.h" #include "gnunet_util_lib.h" #include "gnunet_resolver_service.h" -#include "gnunet_nat_lib.h" +#include "gnunet_nat_service.h" #include "nat_stun.h" @@ -74,7 +74,7 @@ struct GNUNET_NAT_STUN_Handle /** * Function to call when a error occours */ - GNUNET_NAT_STUN_ErrorCallback cb; + GNUNET_NAT_TestCallback cb; /** * Closure for @e cb. @@ -199,7 +199,7 @@ stun_dns_callback (void *cls, /** * Make Generic STUN request. Sends a generic stun request to the - * server specified using the specified socket. + * server specified using the specified socket. * * @param server the address of the stun server * @param port port of the stun server, in host byte order @@ -212,7 +212,7 @@ struct GNUNET_NAT_STUN_Handle * GNUNET_NAT_stun_make_request (const char *server, uint16_t port, struct GNUNET_NETWORK_Handle *sock, - GNUNET_NAT_STUN_ErrorCallback cb, + GNUNET_NAT_TestCallback cb, void *cb_cls) { struct GNUNET_NAT_STUN_Handle *rh; -- cgit v1.2.3