Set path and phash for ignored files

This commit is contained in:
Daniel Molkentin 2013-04-08 14:20:38 +02:00
parent 6cee3f49bc
commit aa390dd17e

View File

@ -223,11 +223,12 @@ out:
if( fs->md5 ) {
st->md5 = c_strdup(fs->md5);
}
fastout: /* target if the file information is read from database into st */
st->phash = h;
st->pathlen = len;
memcpy(st->path, (len ? path : ""), len + 1);
fastout: /* target if the file information is read from database into st */
switch (ctx->current) {
case LOCAL_REPLICA:
if (c_rbtree_insert(ctx->local.tree, (void *) st) < 0) {