提交 19e4265d 编写于 作者: C cheng_jinsong
上级 f9a21d26
......@@ -1003,7 +1003,10 @@ void ParseAllServices(const cJSON *fileRoot)
Service *service = GetServiceByName(fieldStr);
if (service == NULL) {
service = AddService(fieldStr);
INIT_ERROR_CHECK(service != NULL, continue, "Failed to add service name %s", fieldStr);
if (service == NULL) {
INIT_LOGE("Failed to add service name %s", fieldStr);
continue;
}
} else {
INIT_LOGI("Service %s already exists, updating.", fieldStr);
#ifndef __MUSL__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册