trivial fix in setfiles. spotted by Yuichi Nakamura <ynakam@hitachisoft.jp>

This commit is contained in:
Denis Vlasenko 2007-09-28 11:37:38 +00:00
parent a7bc9ac8f8
commit a0ad43b80b

View File

@ -189,7 +189,7 @@ static int match(const char *name, struct stat *sb, char **con)
file_sep = strrchr(tmp_path, '/');
if (file_sep == tmp_path) {
file_sep++;
p[0] = '\0';
path[0] = '\0';
p = path;
} else if (file_sep) {
*file_sep++ = '\0';