diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-11 19:57:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-11 20:04:19 +0100 |
commit | 0d52fb20708efc717f7568b36329d73553e3d1bb (patch) | |
tree | 55e63cd60c34369bb24ab88f65a36dcb6066e2bf /src | |
parent | 78674f13e2ba87b026d9c242f91f602aee42774d (diff) | |
download | gnunet-0d52fb20708efc717f7568b36329d73553e3d1bb.tar.gz gnunet-0d52fb20708efc717f7568b36329d73553e3d1bb.zip |
fix FTBFS
Diffstat (limited to 'src')
-rw-r--r-- | src/nat/nat_api_stun.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ | |||
38 | #include "platform.h" | 38 | #include "platform.h" |
39 | #include "gnunet_util_lib.h" | 39 | #include "gnunet_util_lib.h" |
40 | #include "gnunet_resolver_service.h" | 40 | #include "gnunet_resolver_service.h" |
41 | #include "gnunet_nat_lib.h" | 41 | #include "gnunet_nat_service.h" |
42 | 42 | ||
43 | 43 | ||
44 | #include "nat_stun.h" | 44 | #include "nat_stun.h" |
@@ -74,7 +74,7 @@ struct GNUNET_NAT_STUN_Handle | |||
74 | /** | 74 | /** |
75 | * Function to call when a error occours | 75 | * Function to call when a error occours |
76 | */ | 76 | */ |
77 | GNUNET_NAT_STUN_ErrorCallback cb; | 77 | GNUNET_NAT_TestCallback cb; |
78 | 78 | ||
79 | /** | 79 | /** |
80 | * Closure for @e cb. | 80 | * Closure for @e cb. |
@@ -199,7 +199,7 @@ stun_dns_callback (void *cls, | |||
199 | 199 | ||
200 | /** | 200 | /** |
201 | * Make Generic STUN request. Sends a generic stun request to the | 201 | * Make Generic STUN request. Sends a generic stun request to the |
202 | * server specified using the specified socket. | 202 | * server specified using the specified socket. |
203 | * | 203 | * |
204 | * @param server the address of the stun server | 204 | * @param server the address of the stun server |
205 | * @param port port of the stun server, in host byte order | 205 | * @param port port of the stun server, in host byte order |
@@ -212,7 +212,7 @@ struct GNUNET_NAT_STUN_Handle * | |||
212 | GNUNET_NAT_stun_make_request (const char *server, | 212 | GNUNET_NAT_stun_make_request (const char *server, |
213 | uint16_t port, | 213 | uint16_t port, |
214 | struct GNUNET_NETWORK_Handle *sock, | 214 | struct GNUNET_NETWORK_Handle *sock, |
215 | GNUNET_NAT_STUN_ErrorCallback cb, | 215 | GNUNET_NAT_TestCallback cb, |
216 | void *cb_cls) | 216 | void *cb_cls) |
217 | { | 217 | { |
218 | struct GNUNET_NAT_STUN_Handle *rh; | 218 | struct GNUNET_NAT_STUN_Handle *rh; |