解决编译失败的问题

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