From d148add1c0046a323e43b8a8c73846c31fc30878 Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 2 Jun 2010 06:24:25 +0000 Subject: modified debug log for filter. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2559 ee746299-78ed-0310-b773-934348b2243d --- libsylph/filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libsylph') diff --git a/libsylph/filter.c b/libsylph/filter.c index efbcf130..beff85bf 100644 --- a/libsylph/filter.c +++ b/libsylph/filter.c @@ -476,10 +476,10 @@ static gboolean filter_match_cond(FilterCond *cond, MsgInfo *msginfo, debug_print("filter-log: %s: CMD_TEST, str_value: [%s]%s\n", G_STRFUNC, sv, nm); break; case FLT_COND_SIZE_GREATER: - debug_print("filter-log: %s: SIZE_GREATER: %u > %d (KB)%s\n", G_STRFUNC, msginfo->size, cond->int_value, nm); + debug_print("filter-log: %s: SIZE_GREATER: %u %s %d (KB)%s\n", G_STRFUNC, msginfo->size, not_match ? "<=" : ">", cond->int_value, nm); break; case FLT_COND_AGE_GREATER: - debug_print("filter-log: %s: AGE_GREATER: %ld > %d (day)%s\n", G_STRFUNC, time(NULL) - msginfo->date_t, cond->int_value, nm); + debug_print("filter-log: %s: AGE_GREATER: %ld (sec) %s %d (day)%s\n", G_STRFUNC, time(NULL) - msginfo->date_t, not_match ? "<=" : ">", cond->int_value, nm); break; case FLT_COND_UNREAD: debug_print("filter-log: %s: UNREAD%s\n", G_STRFUNC, nm); -- cgit v1.2.3