aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@FreeBSD.org>2009-01-02 12:35:01 +0000
committerUlf Lilleengen <lulf@FreeBSD.org>2009-01-02 12:35:01 +0000
commitd8c0b9ac9ffd9130f2f2ff07b3ac24c59bcc333e (patch)
treea4466050b067e115f9b3deb75b2e108dea8dcb1b
parentabb23cb1af9c6f33c2a7198da2733cfc8ff0b597 (diff)
Notes
-rw-r--r--contrib/csup/lister.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/lister.c b/contrib/csup/lister.c
index 27fae2d94b69..b10dbd3a17e0 100644
--- a/contrib/csup/lister.c
+++ b/contrib/csup/lister.c
@@ -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.