diff --git a/server/block.cc b/server/block.cc index 403659e..a1bc4f4 100644 --- a/server/block.cc +++ b/server/block.cc @@ -155,7 +155,7 @@ Block Blocks::GetBlockFromJSON(JSONParse *j) { s = ""; if (j->GetValue("sensor_shortstop_1", &s)) strncpy (bl.s_shortstop[1], s.c_str(), REFERENCENAME_LEN); s = ""; if (j->GetValue("secondblock", &s)) strncpy (bl.secondblock, s.c_str(), REFERENCENAME_LEN); - printf ("%s:%d block: %s flags: %d\n", __FILE__, __LINE__, bl.name, bl.flags); + // printf ("%s:%d block: %s flags: %d\n", __FILE__, __LINE__, bl.name, bl.flags); return bl; }; diff --git a/server/network.cc b/server/network.cc index 00fb216..af7fb5b 100644 --- a/server/network.cc +++ b/server/network.cc @@ -97,7 +97,11 @@ int Network::Start() { webserver.SetupDocumentRoot("webinterface"); webserver.SetupPorts(1080, 1081); webserver.Start(); - + printf ("*************************************\n"); + printf ("* Modelbahn Webserver started *\n"); + printf ("* Port: 1080 (HTTP) *\n"); + printf ("* Port: 1081 (HTTPS) *\n"); + printf ("*************************************\n"); thread_running = 1; pthread_attr_init (&attr); pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_JOINABLE);