* change MuMaildirWalkMsgCallback so it take a full stat buf* instead of just

the ctime; then do the checking for the file size (st_size) in mu-index

  also, update a unit test which was using an invalid MuMaildirWalkMsgCallback
This commit is contained in:
Dirk-Jan C. Binnema
2011-01-15 11:53:18 +02:00
parent 91cbdd6b71
commit 62acc7739d
4 changed files with 30 additions and 34 deletions

View File

@ -163,7 +163,7 @@ dir_cb (const char *fullpath, gboolean enter, WalkData *data)
static MuResult
msg_cb (const char *fullpath, const char* mdir, gboolean enter,
msg_cb (const char *fullpath, const char* mdir, struct stat *statinfo,
WalkData *data)
{
++data->_file_count;