diff options
author | Michiel Van Der Kolk <not.valid@email.address> | 2005-09-03 11:43:15 +0000 |
---|---|---|
committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-09-03 11:43:15 +0000 |
commit | ff7f4e89425045a9d16a92c8c83669e45a2013ea (patch) | |
tree | 889391e96ad7ffb88fe8fa66e3135bc175e7040b | |
parent | f79ada83b10aa3a34b5cacbbacf61084edfd6b94 (diff) | |
download | rockbox-ff7f4e89425045a9d16a92c8c83669e45a2013ea.tar.gz 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
-rwxr-xr-x | tools/songdb.pl | 3 |
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 { | |||
191 | my $len = 32*1024; | 191 | my $len = 32*1024; |
192 | 192 | ||
193 | if(!$crc) { | 193 | if(!$crc) { |
194 | return 1; # fixed bad CRC when disabled! | 194 | return 0; # fixed bad CRC when disabled! |
195 | # better to set to 0 cause the rundb code will handle it better that way. | ||
195 | } | 196 | } |
196 | 197 | ||
197 | if(!open(FILE, "<$filename")) { | 198 | if(!open(FILE, "<$filename")) { |