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 Apr 3, 2023
1 parent d206ddc commit 7eb04e3
Showing 1 changed file with 2 additions and 2 deletions.
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 .." : "%.*s ..";
len = LOGLINELEN; // remainder printed next iteration
stream->cut = 1;
} else {
fmt = stream->cut ? ".. %.*s" : "%.*s";
fmt = stream->cut ? "verifier: .. %.*s" : "%.*s";
stream->cut = 0;
}
log_msg(stream->priority, fmt, len, stream->buf + stream->off);
Expand Down

0 comments on commit 7eb04e3

Please sign in to comment.