Patch that should work. I haven't tried it yet though.
The patch adds an if clause in dcpp/HashManager.cpp on line 769, right before the CRC32 inconsistency check. It tries to open the file; if it can, close the handle and continue, otherwise write to the log that it couldn't find the file (will also say so if the permissions are wrong, but then it wouldn't be shared anyway...).
Code follows:
FILE* fp = NULL;
fp = fopen(fname, "rb");
if(fp == NULL) {
LogManager::getInstance()->message(str(F_("%1% not found but found in SFV file.") % fname));
} else {
fclose(fp);
}
Patch that should work. I haven't tried it yet though.
The patch adds an if clause in dcpp/HashManage r.cpp on line 769, right before the CRC32 inconsistency check. It tries to open the file; if it can, close the handle and continue, otherwise write to the log that it couldn't find the file (will also say so if the permissions are wrong, but then it wouldn't be shared anyway...).
Code follows:
FILE* fp = NULL; :getInstance( )->message( str(F_( "%1% not found but found in SFV file.") % fname));
fp = fopen(fname, "rb");
if(fp == NULL) {
LogManager:
} else {
fclose(fp);
}