[maemo-commits] [maemo-commits] r19572 - projects/connectivity/maemo-bluez-compat/trunk/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Dec 11 15:17:47 EET 2009
Author: jh
Date: 2009-12-11 15:17:46 +0200 (Fri, 11 Dec 2009)
New Revision: 19572

Modified:
   projects/connectivity/maemo-bluez-compat/trunk/src/maemo-bluez-restore.c
Log:
Fix incorrect g_str_equal_call

Modified: projects/connectivity/maemo-bluez-compat/trunk/src/maemo-bluez-restore.c
===================================================================
--- projects/connectivity/maemo-bluez-compat/trunk/src/maemo-bluez-restore.c	2009-12-11 13:13:41 UTC (rev 19571)
+++ projects/connectivity/maemo-bluez-compat/trunk/src/maemo-bluez-restore.c	2009-12-11 13:17:46 UTC (rev 19572)
@@ -49,7 +49,7 @@
 
 	if (g_str_equal(mode, "discoverable"))
 		adapter_set_property_boolean(adapter, "Discoverable", TRUE);
-	else if (g_str_equal(mode, "connectable", sizeof(mode)))
+	else if (g_str_equal(mode, "connectable"))
 		adapter_set_property_boolean(adapter, "Discoverable", FALSE);
 
 	exit(EXIT_SUCCESS);

More information about the maemo-commits mailing list