mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
解决编译失败的问题
This commit is contained in:
parent
7b3527e7f5
commit
eab5a00c5c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user