nghttpx: Log rstatus in hex

This commit is contained in:
Tatsuhiro Tsujikawa 2017-03-01 23:21:11 +09:00
parent c1f7795dd6
commit a6dda5f91c
1 changed files with 2 additions and 2 deletions

View File

@ -598,8 +598,8 @@ void ConnectionHandler::handle_ocsp_complete() {
auto status = WEXITSTATUS(rstatus);
if (ocsp_.error || !WIFEXITED(rstatus) || status != 0) {
LOG(WARN) << "ocsp query command for " << tls_ctx_data->cert_file
<< " failed: error=" << ocsp_.error << ", rstatus=" << rstatus
<< ", status=" << status;
<< " failed: error=" << ocsp_.error << ", rstatus=" << std::hex
<< rstatus << std::dec << ", status=" << status;
++ocsp_.next;
proceed_next_cert_ocsp();
return;