- Check for NULL in case fattr_frompath fails.
This commit is contained in:
parent
abb23cb1af
commit
d8c0b9ac9f
@ -434,7 +434,7 @@ lister_dorcsfile(struct lister *l, struct coll *coll, struct statusrec *sr)
|
||||
free(path);
|
||||
} else
|
||||
fa = sr->sr_clientattr;
|
||||
if (fattr_equal(fa, sr->sr_clientattr)) {
|
||||
if (fa != NULL && fattr_equal(fa, sr->sr_clientattr)) {
|
||||
/*
|
||||
* If the file is an RCS file, we use "loose" equality, so sizes
|
||||
* may disagress because of differences in whitespace.
|
||||
|
Loading…
Reference in New Issue
Block a user