nghttpx: Rename errbuf for neverbleed as nb_errbuf for clarification

This commit is contained in:
Tatsuhiro Tsujikawa 2016-10-23 19:17:40 +09:00
parent c42715ed6a
commit 10a84f3e3d
1 changed files with 3 additions and 3 deletions

View File

@ -413,10 +413,10 @@ int worker_process_event_loop(WorkerProcessConfig *wpconf) {
#ifdef HAVE_NEVERBLEED
{
std::array<char, NEVERBLEED_ERRBUF_SIZE> errbuf;
std::array<char, NEVERBLEED_ERRBUF_SIZE> nb_errbuf;
auto nb = make_unique<neverbleed_t>();
if (neverbleed_init(nb.get(), errbuf.data()) != 0) {
LOG(FATAL) << "neverbleed_init failed: " << errbuf.data();
if (neverbleed_init(nb.get(), nb_errbuf.data()) != 0) {
LOG(FATAL) << "neverbleed_init failed: " << nb_errbuf.data();
return -1;
}