Thread (21 messages) 21 messages, 4 authors, 2011-08-24

Re: [PATCH v2 4/9] Update g_strcmp0 to strcasecmp

flat view

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2011-08-24 10:53:31

Hi Frédéric,

2011/8/22 Frédéric Dalleau [off-list ref]:
quoted hunk ↗ jump to hunk
---
 audio/media.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/audio/media.c b/audio/media.c
index ae2b471..5ab3eab 100644
--- a/audio/media.c
+++ b/audio/media.c
@@ -639,7 +639,7 @@ static struct media_endpoint *media_endpoint_create(struct media_adapter *adapte
               if (endpoint->sep == NULL)
                       goto failed;
       } else if (strcasecmp(uuid, HFP_AG_UUID) == 0 ||
-                                       g_strcmp0(uuid, HSP_AG_UUID) == 0) {
+                                       strcasecmp(uuid, HSP_AG_UUID) == 0) {
               struct audio_device *dev;

               endpoint->hs_watch = headset_add_state_cb(headset_state_changed,
--
1.7.1

--
Ack

-- 
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help