summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-05-15 11:01:31 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-05-15 16:59:21 +0100
commit6f4d5ad3a1613f7d4502bb81eb3f4e875a71b0c9 (patch)
tree83734404c51b0bdc033250fe51ff5cb86e9440e2 /src
parent3735e3264cb2d1c8106479d6318fdc9c5cc04027 (diff)
Callout: additional debug on cache operations
Diffstat (limited to 'src')
-rw-r--r--src/src/verify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src/verify.c b/src/src/verify.c
index 8a408686f..93ab9112d 100644
--- a/src/src/verify.c
+++ b/src/src/verify.c
@@ -70,7 +70,7 @@ cache_record = dbfn_read_with_length(dbm_file, key, &length);
if (cache_record == NULL)
{
- HDEBUG(D_verify) debug_printf("callout cache: no %s record found\n", type);
+ HDEBUG(D_verify) debug_printf("callout cache: no %s record found for %s\n", type, key);
return NULL;
}
@@ -84,7 +84,7 @@ now = time(NULL);
if (now - cache_record->time_stamp > expire)
{
- HDEBUG(D_verify) debug_printf("callout cache: %s record expired\n", type);
+ HDEBUG(D_verify) debug_printf("callout cache: %s record expired for %s\n", type, key);
return NULL;
}
@@ -111,7 +111,7 @@ if (type[0] == 'd' && cache_record->result != ccache_reject)
cache_record->random_result = ccache_unknown;
}
-HDEBUG(D_verify) debug_printf("callout cache: found %s record\n", type);
+HDEBUG(D_verify) debug_printf("callout cache: found %s record for %s\n", type, key);
return cache_record;
}