fixed c_str() typo
This commit is contained in:
parent
64f2193b2a
commit
1d85e91051
|
@ -13,7 +13,7 @@ class MediocreSimpleStaticFileHandler :StaticFileHandler
|
|||
int answer_pathreq(const char * const path,
|
||||
struct mg_connection *conn)
|
||||
{
|
||||
mg_send_file(conn,cleanpath(path).to_cstring());
|
||||
mg_send_file(conn,cleanpath(path).c_str());
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue