fix
authorChristian Grothoff <christian@grothoff.org>
Fri, 13 Nov 2009 20:52:38 +0000 (20:52 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 13 Nov 2009 20:52:38 +0000 (20:52 +0000)
src/nat/test_nat.c

index dc5112c368c7d346f7f0f177cf1a7b7ff292364a..9b86f24b2ce9babc5b52d1ae65da88d1cde1856a 100644 (file)
@@ -62,7 +62,7 @@ addr_callback (void *cls, int add_remove,
 static void
 stop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
-  GNUNET_NAT_Handle *nat = cls;
+  struct GNUNET_NAT_Handle *nat = cls;
 
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Stopping NAT and quitting...\n");
   GNUNET_NAT_unregister (nat);
@@ -97,7 +97,7 @@ run (void *cls,
      char *const *args,
      const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
-  GNUNET_NAT_Handle *nat;
+  struct GNUNET_NAT_Handle *nat;
   struct addr_cls data;
   struct sockaddr *addr;