Update of /cvsroot/gtkpod/libgpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv23969/src

Modified Files:
        itdb_itunesdb.c 
Log Message:
2007-05-19  Jorg Schuler <jcsjcs at users.sourceforge.net>

        * src/itdb_itunesdb.c (playcounts_init): C&P error stat'ing the
          wrong file. Thanks to Raymond Walsh.



Index: itdb_itunesdb.c
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb_itunesdb.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- itdb_itunesdb.c     12 May 2007 07:21:55 -0000      1.95
+++ itdb_itunesdb.c     19 May 2007 02:10:14 -0000      1.96
@@ -1093,7 +1093,7 @@
   {
       /* skip if iTunesStats file has zero-length (often happens after
        * dosfsck) */
-      stat (plcname, &filestat);
+      stat (istname, &filestat);
       if (filestat.st_size >= 0x06)
       {
          cts = fcontents_read (istname, &fimp->error);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to