Validator: log suspicious results

This commit is contained in:
Christian Beer 2016-08-30 16:50:16 +02:00
parent e82d9d87a9
commit 998a927956
1 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,10 @@ int check_set(
retry = true;
had_error[i] = true;
} else if (retval == VAL_RESULT_SUSPICIOUS) {
log_messages.printf(MSG_NORMAL,
"[RESULT#%lu %s] considered to be suspicious\n",
results[i].id, results[i].name
);
suspicious_results++;
} else if (retval) {
log_messages.printf(MSG_CRITICAL,