From 1b1f145d01d1daae74ded22581d8674abdc0ce47 Mon Sep 17 00:00:00 2001 From: dockes Date: Thu, 26 Jan 2006 07:02:06 +0000 Subject: [PATCH] pass size info to db.add --- src/index/indexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index/indexer.cpp b/src/index/indexer.cpp index 1d806c27..f2af109c 100644 --- a/src/index/indexer.cpp +++ b/src/index/indexer.cpp @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "@(#$Id: indexer.cpp,v 1.23 2006-01-23 13:32:28 dockes Exp $ (C) 2004 J.F.Dockes"; +static char rcsid[] = "@(#$Id: indexer.cpp,v 1.24 2006-01-26 07:02:06 dockes Exp $ (C) 2004 J.F.Dockes"; #endif /* * This program is free software; you can redistribute it and/or modify @@ -237,7 +237,7 @@ DbIndexer::processone(const std::string &fn, const struct stat *stp, doc.ipath = ipath; // Do database-specific work to update document data - if (!db.add(fn, doc)) + if (!db.add(fn, doc, stp)) return FsTreeWalker::FtwError; }