提交 de48170d 编写于 作者: X xionglei6

modify: socket service ondemand adapt L1 & L2

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 0dd79435
......@@ -110,7 +110,7 @@ static void ProcessWatchEvent_(const WatcherHandle watcherHandle, int fd, uint32
{
*events = 0;
Service *service = (Service *)context;
ServiceSocket *tmpSock = service->socketCfg;;
ServiceSocket *tmpSock = service->socketCfg;
while (tmpSock != NULL) {
if (tmpSock->sockFd == fd) {
tmpSock->watcher = NULL;
......
......@@ -70,4 +70,4 @@ if (defined(ohos_lite)) {
defines = [ "_GNU_SOURCE" ]
part_name = "init"
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册