// abort when it is not matching an allowed entry
skip_reason.r = rsEXCL_DST;
skip_reason.d.list = &info->dst_list;
- if (!MatchList_compare(&info->dst_list, path->d)) return 0;
+ if (MatchList_compare(&info->dst_list, path->d)!=stINCLUDE) return 0;
// Now, go through the reference vservers and do the lightweigt list-check
// first and compare then the fstat's.
cache_stat = 0;
skip_reason.r = rsEXCL_SRC;
skip_reason.d.list = mlist;
- if (MatchList_compare(mlist, path->d) &&
+ if (MatchList_compare(mlist, path->d)==stINCLUDE &&
checkFstat(mlist, d_path, path, &cache_stat, dst_stat, src_stat)) {
// Failed the check or is it a symlink which can not be handled
MatchList_printId(skip_reason.d.list, 1);
break;
case rsFSTAT : WRITE_MSG(1, "fstat error"); break;
- case rsNOEXISTS : WRITE_MSG(1, "does not exists in refserver(s)"); break;
+ case rsNOEXISTS : WRITE_MSG(1, "does not exist in refserver(s)"); break;
case rsSYMLINK : WRITE_MSG(1, "symlink"); break;
case rsSPECIAL : WRITE_MSG(1, "non regular file"); break;
case rsUNIFIED : WRITE_MSG(1, "already unified"); break;