opensubscriber
   Find in this group all groups
 
Unknown more information…

g : gnunet-svn@gnu.org 4 July 2012 • 1:42AM -0400

[GNUnet-SVN] r22464 - gnunet/src/gns
by gnunet

REPLY TO AUTHOR
 
REPLY TO GROUP




Author: grothoff
Date: 2012-07-03 19:42:47 +0200 (Tue, 03 Jul 2012)
New Revision: 22464

Modified:
   gnunet/src/gns/gnunet-service-gns.c
Log:
-LRN: fix af test on W32

Modified: gnunet/src/gns/gnunet-service-gns.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns.c 2012-07-03 17:29:47 UTC (rev 22463)
+++ gnunet/src/gns/gnunet-service-gns.c 2012-07-03 17:42:47 UTC (rev 22464)
@@ -1196,7 +1196,11 @@
     fprintf (stderr, "Failed to create test socket: %s\n", STRERROR (errno));
     return GNUNET_SYSERR;
   }
+#if WINDOWS
+  closesocket (s);
+#else
   close (s);
+#endif
   return GNUNET_OK;
}

@@ -1211,7 +1215,7 @@
run (void *cls, struct GNUNET_SERVER_Handle *server,
      const struct GNUNET_CONFIGURATION_Handle *c)
{
-  
+
   GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Initializing GNS\n");
  
   char* keyfile;


_______________________________________________
GNUnet-SVN mailing list
GNUnet-SVN@gnu....
https://lists.gnu.org/mailman/listinfo/gnunet-svn

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.