nghttpx: Use nullptr instead of NULL

This commit is contained in:
Tatsuhiro Tsujikawa 2014-06-08 23:02:03 +09:00
parent db8af31e2b
commit e665123ebe
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ namespace {
FILE* open_file_for_write(const char *filename)
{
auto f = fopen(filename, "wb");
if(f == NULL) {
if(f == nullptr) {
LOG(ERROR) << "Failed to open " << filename << " for writing. Cause: "
<< strerror(errno);
}