summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2008-06-10 15:38:55 +0000
committerAntoine Cellerier <dionoea@videolan.org>2008-06-10 15:38:55 +0000
commit239c8054ae955dac891ac1a5a9de1844bfbdfdc1 (patch)
tree9e0340cce4005d70826a513fd0f5779fd46d36e4 /apps/plugins
parent8e7454cc73e1836a55a5c5c1405f2d5de9f98df0 (diff)
Use strncasecmp for hash (string version) comparision.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17711 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/md5sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/md5sum.c b/apps/plugins/md5sum.c
index 1c27fe53ac..e5149a641e 100644
--- a/apps/plugins/md5sum.c
+++ b/apps/plugins/md5sum.c
@@ -138,7 +138,7 @@ void hash_check( int out, const char *path )
rb->write( out, ": ", 2 );
if( hash( string, filename ) )
rb->write( out, "FAILED open or read", 19 );
- else if( rb->memcmp( line, string, MD5_STRING_LENGTH ) )
+ else if( rb->strncasecmp( line, string, MD5_STRING_LENGTH ) )
rb->write( out, "FAILED", 6 );
else
rb->write( out, "OK", 2 );