Further httpd integration

This commit is contained in:
fireice-uk
2017-01-16 00:59:05 +00:00
parent 2033ed3628
commit 9c9df104bd
7 changed files with 48 additions and 9 deletions
+6 -3
View File
@@ -70,10 +70,13 @@ int main(int argc, char *argv[])
return 0;
}
if (!httpd::inst()->start_daemon())
if(jconf::inst()->GetHttpdPort() != 0)
{
win_exit();
return 0;
if (!httpd::inst()->start_daemon())
{
win_exit();
return 0;
}
}
printer::inst()->print_str("-------------------------------------------------------------------\n");