[grilo-plugins] dmap: Standardize use of strcmp
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] dmap: Standardize use of strcmp
- Date: Sun, 6 Sep 2015 12:48:05 +0000 (UTC)
commit 9403694cf7c1045fc58c5c0af5c4dc235ffd5775
Author: W. Michael Petullo <mike flyn org>
Date: Sat Sep 5 09:04:44 2015 -0400
dmap: Standardize use of strcmp
https://bugzilla.gnome.org/show_bug.cgi?id=746722
src/dmap/grl-daap-db.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dmap/grl-daap-db.c b/src/dmap/grl-daap-db.c
index 1e83e36..641e0dd 100644
--- a/src/dmap/grl-daap-db.c
+++ b/src/dmap/grl-daap-db.c
@@ -244,7 +244,7 @@ grl_daap_db_add (DMAPDb *_db, DMAPRecord *_record)
static gboolean
same_media (GrlMedia *a, GrlMedia *b)
{
- return ! strcmp (grl_media_get_id (a), grl_media_get_id (b));
+ return (strcmp (grl_media_get_id (a), grl_media_get_id (b)) == 0);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]