GList *cur;
gchar *checksum;
fuzzy_hash_t fake_fuzzy;
+ gboolean processed = FALSE;
/* Plan new event for writing */
cur = task->text_parts;
/* Cannot write hash */
return FALSE;
}
+ processed = TRUE;
cur = g_list_next (cur);
}
msg_info ("save hash of image: [%s] to list: %d", checksum, flag);
g_free (checksum);
+ processed = TRUE;
}
}
}
mime_part->type->type, mime_part->type->subtype,
checksum, flag);
g_free (checksum);
+ processed = TRUE;
}
}
cur = g_list_next (cur);
memory_pool_add_destructor (session->session_pool, (pool_destruct_func)free_task_soft, task);
- return TRUE;
+ return processed;
}
static gboolean
continue;
}
- processed = TRUE;
-
res = fuzzy_process_rule (session, rule, task, err, cmd, flag, value, saved);
+ if (res) {
+ processed = TRUE;
+ }
+
cur = g_list_next (cur);
}