Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] Cleanup functions that update found UUIDs(EIR)
@ 2011-04-28 22:34 Claudio Takahasi
  2011-04-28 22:34 ` [PATCH 2/2] Remove wrong checking for legacy devices Claudio Takahasi
  0 siblings, 1 reply; 8+ messages in thread
From: Claudio Takahasi @ 2011-04-28 22:34 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Claudio Takahasi

---
 src/adapter.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/adapter.c b/src/adapter.c
index 8dbd62c..f7bbc3e 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -3059,11 +3059,11 @@ static struct remote_dev_info *get_found_dev(struct btd_adapter *adapter,
 static void remove_same_uuid(gpointer data, gpointer user_data)
 {
 	struct remote_dev_info *dev = user_data;
+	const char *new_uuid = data;
 	GSList *l;
 
 	for (l = dev->services; l; l = l->next) {
 		char *current_uuid = l->data;
-		char *new_uuid = data;
 
 		if (strcmp(current_uuid, new_uuid) == 0) {
 			g_free(current_uuid);
@@ -3076,7 +3076,7 @@ static void remove_same_uuid(gpointer data, gpointer user_data)
 static void dev_prepend_uuid(gpointer data, gpointer user_data)
 {
 	struct remote_dev_info *dev = user_data;
-	char *new_uuid = data;
+	const char *new_uuid = data;
 
 	dev->services = g_slist_prepend(dev->services, g_strdup(new_uuid));
 }
-- 
1.7.5.rc3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-04-29 21:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 22:34 [PATCH 1/2] Cleanup functions that update found UUIDs(EIR) Claudio Takahasi
2011-04-28 22:34 ` [PATCH 2/2] Remove wrong checking for legacy devices Claudio Takahasi
2011-04-29 11:27   ` Luiz Augusto von Dentz
2011-04-29 12:53     ` Claudio Takahasi
2011-04-29 17:56       ` Johan Hedberg
2011-04-29 18:41         ` Anderson Lizardo
2011-04-29 18:44           ` Anderson Lizardo
2011-04-29 21:02         ` Claudio Takahasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox