Skip to content

Commit

Permalink
Prefix messages originating from verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
k0ekk0ek committed May 30, 2023
1 parent 2ddbacd commit 589e82e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/ChangeLog
@@ -1,4 +1,5 @@
30 May 2023: Jeroen
- Fix #240: Prefix messages originating from verifier.
- Fix #275: Drop unnecessary root server checks.

30 May 2023: Wouter
Expand Down
4 changes: 2 additions & 2 deletions verify.c
Expand Up @@ -112,11 +112,11 @@ static inline size_t print_line(struct verifier_stream *stream, int eof)
return 0;

if (len > LOGLINELEN) {
fmt = stream->cut ? ".. %.*s .." : "%.*s ..";
fmt = stream->cut ? "verifier: .. %.*s .." : "verifier: %.*s ..";
len = LOGLINELEN; // remainder printed next iteration
stream->cut = 1;
} else {
fmt = stream->cut ? ".. %.*s" : "%.*s";
fmt = stream->cut ? "verifier: .. %.*s" : "verifier: %.*s";
stream->cut = 0;
}
log_msg(stream->priority, fmt, len, stream->buf + stream->off);
Expand Down

0 comments on commit 589e82e

Please sign in to comment.