We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 768edc8 commit 9857decCopy full SHA for 9857dec
sc-tools/sc-server/src/sc_server_module.cpp
@@ -20,11 +20,11 @@ void ScServerModule::Initialize(ScMemoryContext *)
20
// TODO(NikitaZotov): Configure all platform-dependent components from kb.
21
22
sc_char const * host = std::getenv("SC_SERVER_HOST");
23
- if (host != null_ptr)
+ if (host != nullptr)
24
ms_serverParams.Insert({"host", host});
25
26
sc_char const * port = std::getenv("SC_SERVER_PORT");
27
- if (port != null_ptr)
+ if (port != nullptr)
28
ms_serverParams.Insert({"port", port});
29
30
ScConfig config{ScMemory::ms_configPath, {{"log_file"}}};
0 commit comments