Commit b1c2862a authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

corrected another bug

parent 68e789bb
......@@ -2106,8 +2106,10 @@ static int sdskv_pre_migration_callback(remi_fileset_t fileset, void* uargs)
return -103;
}
// (4) check that the comparison function exists
if(provider->compfunctions.find(comp_fn) == provider->compfunctions.end()) {
return -104;
if(comp_fn.size() != 0) {
if(provider->compfunctions.find(comp_fn) == provider->compfunctions.end()) {
return -104;
}
}
// all is fine
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment