summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/webengine.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-11 15:26:58 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-11 15:26:58 +0200
commit6b36c7ab225c4619dcb5ac33c34813a66277457e (patch)
tree51fe970d770cd4ad794b6aa428560f020f0f0fd6 /src/emu/webengine.c
parentc334fda9a9da652bcac871f3b778ba4ca967031c (diff)
cstr() - > c_str() as preparation for move to std::string (nw)
Diffstat (limited to 'src/emu/webengine.c')
-rw-r--r--src/emu/webengine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/webengine.c b/src/emu/webengine.c
index bc7c5fa39e8..4ea56689d94 100644
--- a/src/emu/webengine.c
+++ b/src/emu/webengine.c
@@ -455,7 +455,7 @@ int web_engine::begin_request_handler(struct mg_connection *conn)
mg_send_header(conn, "Cache-Control", "no-cache, no-store, must-revalidate");
mg_send_header(conn, "Pragma", "no-cache");
mg_send_header(conn, "Expires", "0");
- mg_send_file(conn, fullpath.cstr(), NULL);
+ mg_send_file(conn, fullpath.c_str(), NULL);
return MG_MORE; // It is important to return MG_MORE after mg_send_file!
}
return 0;