From 47d52896a19376600fa8294182278a28944865d3 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Thu, 12 Nov 2015 12:48:17 +0000 Subject: [PATCH] s/uri/url, to conform to nodejs HTTP API PUBLISHED_FROM=32ba0c859ad9df3cf7dc3af8e379e49543e77843 --- mongoose.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mongoose.c b/mongoose.c index 5f7d442a..7f3c72ab 100644 --- a/mongoose.c +++ b/mongoose.c @@ -6000,6 +6000,7 @@ void mg_send_http_file(struct mg_connection *nc, char *path, uint32_t remote_ip = ntohl(*(uint32_t *) &nc->sa.sin.sin_addr); cs_stat_t st; + DBG(("serving [%s]", path)); stat_result = mg_stat(path, &st); is_directory = !stat_result && S_ISDIR(st.st_mode);