From: Arti Trivedi Bora Date: Tue, 5 Jun 2012 19:58:13 +0000 (+0530) Subject: modules: Use pa_streq instead of strcmp. X-Git-Tag: accepted/2.0alpha/20121211.011210~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b334ea33f073aafd069463dd5d8fa03a4fa603b;p=profile%2Fivi%2Fpulseaudio.git modules: Use pa_streq instead of strcmp. --- diff --git a/src/modules/bluetooth/module-bluetooth-proximity.c b/src/modules/bluetooth/module-bluetooth-proximity.c index 3247017..7d69e82 100644 --- a/src/modules/bluetooth/module-bluetooth-proximity.c +++ b/src/modules/bluetooth/module-bluetooth-proximity.c @@ -228,7 +228,7 @@ static struct bonding* bonding_new(struct userdata *u, const char *a) { goto fail; } - if (strcmp(class, "phone")) { + if (!pa_streq(class, "phone")) { pa_log_info("Found device '%s' of class '%s', ignoring.", a, class); goto fail; }