Commit cd811c26 authored by whmaizmy's avatar whmaizmy

【修改内容】增加无效topic的过滤

【提交人】陈伟灿
parent 0db490ba
...@@ -74,7 +74,7 @@ static int _check_invalid_topic(char* topic) ...@@ -74,7 +74,7 @@ static int _check_invalid_topic(char* topic)
} }
void KK_Sendto_DevData(const char *topic,const char *data) void KK_Sendto_DevData(const char *topic,const char *data)
{ {
if(_check_invalid_topic()) if(_check_invalid_topic(topic))
{ {
return;//ingore the message return;//ingore the message
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment