[gnome-bluetooth/gnome-3-0] applet: no need to quote address argument



commit c6e3c1b8ede1fa04e8d107757d9d7c061cd519a1
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Mon Jun 27 13:38:32 2011 +0100

    applet: no need to quote address argument
    
    for bluetooth-sendto
    
    https://bugzilla.gnome.org/show_bug.cgi?id=653479

 applet/bluetooth-applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applet/bluetooth-applet.c b/applet/bluetooth-applet.c
index 74f647f..7c14977 100644
--- a/applet/bluetooth-applet.c
+++ b/applet/bluetooth-applet.c
@@ -235,7 +235,7 @@ void bluetooth_applet_send_to_address (BluetoothApplet *applet,
 	if (address != NULL) {
 		char *s;
 
-		s = g_strdup_printf ("--device=\"%s\"", address);
+		s = g_strdup_printf ("--device=%s", address);
 		g_ptr_array_add (a, s);
 	}
 	if (address != NULL && alias != NULL) {



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