From aec76f84cbc0a2b3d82ed342cd81dc2b566cfeaf Mon Sep 17 00:00:00 2001 From: Jorg Schuler Date: Sat, 19 May 2007 02:10:14 +0000 Subject: 2007-05-19 Jorg Schuler * src/itdb_itunesdb.c (playcounts_init): C&P error stat'ing the wrong file. Thanks to Raymond Walsh. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1436 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/itdb_itunesdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index c5a462a..d616829 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -1093,7 +1093,7 @@ static gboolean playcounts_init (FImport *fimp) { /* 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); -- cgit