提交 0c2a0be9 编写于 作者: R robinyin 提交者: openharmony_ci

!116 【轻量级 PR】:update docs-en/readme/distributed-communication-subsystem.md.

Merge pull request !116 from robinyin/N/A
上级 f0a76d7c
......@@ -131,7 +131,7 @@ int OnSessionOpenedEventTest(int sessionId)
// Register the service session service and its callbacks with the soft bus.
int StartSessionServer()
{
if (g_sessionCallback != NULL) {
if (g_sessionCallback == NULL) {
g_sessionCallback = (struct ISessionListener*)malloc(sizeof(struct ISessionListener));
}
if (g_sessionCallback == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册