fix file signing

This commit is contained in:
Glenn Maynard
2009-08-09 22:59:50 +00:00
parent e0574c767d
commit 6f40801c55
+1
View File
@@ -23,6 +23,7 @@ static bool HashFile( RageFileBasic &f, unsigned char buf_hash[20], int iHash )
RString s;
while( !f.AtEOF() )
{
s.erase();
if( f.Read(s, 1024*4) == -1 )
{
LOG->Warn( "Error reading %s: %s", f.GetDisplayPath().c_str(), f.GetError().c_str() );