From 7eb998891e57cb105f48a6dc294463c748f5bf28 Mon Sep 17 00:00:00 2001 From: cpq Date: Mon, 1 Feb 2021 00:02:33 +0000 Subject: [PATCH] Show served dir in the start message --- examples/http-server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/http-server/main.c b/examples/http-server/main.c index 80f114fc..00811ea6 100644 --- a/examples/http-server/main.c +++ b/examples/http-server/main.c @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) { if (mg_casecmp(s_enable_hexdump, "yes") == 0) c->is_hexdumping = 1; // Start infinite event loop - LOG(LL_INFO, ("Starting Mongoose web server v%s", MG_VERSION)); + LOG(LL_INFO, ("Starting Mongoose v%s, serving [%s]", MG_VERSION, s_root_dir)); for (;;) mg_mgr_poll(&mgr, 1000); mg_mgr_free(&mgr); return 0;