nghttpx: Use nullptr instead of NULL

This commit is contained in:
Tatsuhiro Tsujikawa 2017-02-10 17:14:47 +09:00
parent 0d20e07436
commit c02b1041d9
1 changed files with 1 additions and 1 deletions

View File

@ -1112,7 +1112,7 @@ int call_daemon() {
return _daemonize(0, 0, 0, 0);
#else // !__sgi
#ifdef HAVE_LIBSYSTEMD
if (sd_booted() && (getenv("NOTIFY_SOCKET") != NULL)) {
if (sd_booted() && (getenv("NOTIFY_SOCKET") != nullptr)) {
LOG(NOTICE) << "Daemonising disabled under systemd";
chdir("/");
return 0;