summaryrefslogtreecommitdiffstats
path: root/tools/songdb.pl
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-09-03 11:43:15 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-09-03 11:43:15 +0000
commitff7f4e89425045a9d16a92c8c83669e45a2013ea (patch)
tree889391e96ad7ffb88fe8fa66e3135bc175e7040b /tools/songdb.pl
parentf79ada83b10aa3a34b5cacbbacf61084edfd6b94 (diff)
downloadrockbox-ff7f4e89425045a9d16a92c8c83669e45a2013ea.tar.gz
rockbox-ff7f4e89425045a9d16a92c8c83669e45a2013ea.tar.bz2
rockbox-ff7f4e89425045a9d16a92c8c83669e45a2013ea.zip
slight change in the bad CRC returned, to make rundb code handle it better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7463 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/songdb.pl')
-rwxr-xr-xtools/songdb.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl
index 5a3f0e985c..659457d554 100755
--- a/tools/songdb.pl
+++ b/tools/songdb.pl
@@ -191,7 +191,8 @@ sub crc32 {
my $len = 32*1024;
if(!$crc) {
- return 1; # fixed bad CRC when disabled!
+ return 0; # fixed bad CRC when disabled!
+ # better to set to 0 cause the rundb code will handle it better that way.
}
if(!open(FILE, "<$filename")) {