解决编译失败的问题

This commit is contained in:
xiongziliang 2019-12-24 16:47:24 +08:00
parent 7b3527e7f5
commit eab5a00c5c

View File

@ -25,6 +25,7 @@
*/
#include <csignal>
#include <cstring>
#include <string>
#include "mediakit.h"
@ -174,7 +175,7 @@ void API_CALL on_mk_http_request(const mk_parser parser,
mk_parser_get_content(parser));
const char *url = mk_parser_get_url(parser);
if(strcasecmp(url,"/api/test") != 0){
if(strcmp(url,"/api/test") != 0){
*consumed = false;
return;
}