diff --git a/smmapdfw/verify_worker/verify_worker.c b/smmapdfw/verify_worker/verify_worker.c index b479702..a5d3350 100644 --- a/smmapdfw/verify_worker/verify_worker.c +++ b/smmapdfw/verify_worker/verify_worker.c @@ -856,6 +856,13 @@ static void *worker_thread(void *arg) { syslog(LOG_DEBUG, "verify (%p) worker_thread: this is a permanent result, returning", wt->vwh); wt->output = ct->output; result = ct->result; + + /* re-concatenate hostname_part */ + if (hostname_part) { + hostname_part--; + *hostname_part = ' '; + } + cache_insert(wt->vwh, wt->input, ct->result, ct->output); /* ct will be freed later, since its output is needed below */ break; /* exit from the ct-collecting while loop, leave the rest of the ct's