gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r29412 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r29412 - gnunet/src/transport
Date: Thu, 19 Sep 2013 12:34:38 +0200

Author: claudiu
Date: 2013-09-19 12:34:38 +0200 (Thu, 19 Sep 2013)
New Revision: 29412

Modified:
   gnunet/src/transport/gnunet-helper-transport-bluetooth.c
Log:
solving some binding errors for W32

Modified: gnunet/src/transport/gnunet-helper-transport-bluetooth.c
===================================================================
--- gnunet/src/transport/gnunet-helper-transport-bluetooth.c    2013-09-19 
09:52:52 UTC (rev 29411)
+++ gnunet/src/transport/gnunet-helper-transport-bluetooth.c    2013-09-19 
10:34:38 UTC (rev 29412)
@@ -1092,6 +1092,11 @@
     if (GNUNET_NETWORK_socket_bind (dev->handle, (const SOCKADDR*)&addr, 
sizeof (SOCKADDR_BTH), 0) != GNUNET_OK)
     {
       fprintf (stderr, "Failed to bind the socket: ");
+      if (GetLastError() == WSAENETDOWN)
+      {
+        fprintf (stderr, "Please make sure that your Bluetooth device is 
ON!\n");
+        ExitProcess (2);
+      }
       print_last_error();
       return -1;
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]