fixed c_str() typo

This commit is contained in:
blastmaster 2014-01-22 23:53:06 +01:00
parent 64f2193b2a
commit 1d85e91051
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}