summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/account.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account.cc b/src/account.cc
index e6c7af56..f8729409 100644
--- a/src/account.cc
+++ b/src/account.cc
@@ -512,7 +512,7 @@ void account_t::xdata_t::details_t::update(post_t& post,
if (post.has_flags(POST_VIRTUAL))
posts_virtuals_count++;
- if (gather_all)
+ if (gather_all && post.pos)
filenames.insert(post.pos->pathname);
date_t date = post.date();