return count;
}
-
/**
* Open the bluetooth interface for reading/writing
*
addr.btAddr = 0;
addr.port = BT_PORT_ANY;
- if (GNUNET_OK !=
- GNUNET_NETWORK_socket_bind (dev->handle, (const SOCKADDR*)&addr, sizeof (SOCKADDR_BTH)))
+ 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)