Loading src/httpd.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -83,11 +83,15 @@ libhttppp::HttpD::HttpD(int argc, char** argv){ const char *sslcertpath = nullptr; if (HTTPDCmdController->getCmdbyKey("httpscert")) sslcertpath = HTTPDCmdController->getCmdbyKey("httpscert")->getValue(); else sslcertpath = nullptr; /*get httpaddress from console paramter*/ const char *sslkeypath = nullptr; if (HTTPDCmdController->getCmdbyKey("httpskey")) sslkeypath = HTTPDCmdController->getCmdbyKey("httpskey")->getValue(); else sslkeypath = nullptr; try { if (sslcertpath && sslkeypath) { Loading Loading
src/httpd.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -83,11 +83,15 @@ libhttppp::HttpD::HttpD(int argc, char** argv){ const char *sslcertpath = nullptr; if (HTTPDCmdController->getCmdbyKey("httpscert")) sslcertpath = HTTPDCmdController->getCmdbyKey("httpscert")->getValue(); else sslcertpath = nullptr; /*get httpaddress from console paramter*/ const char *sslkeypath = nullptr; if (HTTPDCmdController->getCmdbyKey("httpskey")) sslkeypath = HTTPDCmdController->getCmdbyKey("httpskey")->getValue(); else sslkeypath = nullptr; try { if (sslcertpath && sslkeypath) { Loading