[mapguide-commits] r10092 - branches/4.0/MgDev/Web/src/DevHttpServer

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Jul 30 09:43:20 PDT 2024


Author: jng
Date: 2024-07-30 09:43:19 -0700 (Tue, 30 Jul 2024)
New Revision: 10092

Modified:
   branches/4.0/MgDev/Web/src/DevHttpServer/main.cpp
Log:
#2881: Need to apply default value

Modified: branches/4.0/MgDev/Web/src/DevHttpServer/main.cpp
===================================================================
--- branches/4.0/MgDev/Web/src/DevHttpServer/main.cpp	2024-07-30 14:55:28 UTC (rev 10091)
+++ branches/4.0/MgDev/Web/src/DevHttpServer/main.cpp	2024-07-30 16:43:19 UTC (rev 10092)
@@ -566,6 +566,11 @@
         {
             bindTo = argBindTo.getValue();
         }
+
+        if (bindTo.empty())
+        {
+            bindTo = "localhost";
+        }
     }
     catch (TCLAP::ArgException& e)
     {



More information about the mapguide-commits mailing list