commit 0c2ebb9645d38ff9db84bbdb34e9f13d463c6387
Author: Christophe Fergeau <t...@gnome.org>
Date:   Thu Jul 7 22:00:02 2011 +0200

    fix inverted test in playcount check
    
    When testing whether parsing of playcount file succeeded or not,
    the condition was inverted, which means failure was reported when
    parsing succeeded.

 src/itdb_itunesdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index 8e47c26..78d087f 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -3287,7 +3287,7 @@ itdb_parse_internal (Itdb_iTunesDB *itdb, gboolean 
compressed, GError **error)
        itdb_hash72_extract_hash_info (fimp->itdb->device,
                                       (guchar *)fimp->fcontents->contents,
                                       fimp->fcontents->length);
-       if (playcounts_init (fimp))
+       if (!playcounts_init (fimp))
        {
            g_warning ("Error parsing recent playcounts");
        }

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to