Skip to content

Commit

Permalink
Fixes garbled logs when using %<vbn> log tag (#7140)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1674ce2)
  • Loading branch information
randall authored and zwoop committed Aug 26, 2020
1 parent 71120ef commit 24b360a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/logging/LogAccess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ LogAccess::marshal_proxy_provided_cert(char *buf)
int
LogAccess::marshal_version_build_number(char *buf)
{
int len = sizeof(appVersionInfo.BldNumStr);
int len = LogAccess::strlen(appVersionInfo.BldNumStr);
if (buf) {
marshal_str(buf, appVersionInfo.BldNumStr, len);
}
Expand Down

0 comments on commit 24b360a

Please sign in to comment.