From 0c2a0be9ad333e0e131e72b833314f0e442495ad Mon Sep 17 00:00:00 2001 From: robinyin <7807608+yinyouzhan@user.noreply.gitee.com> Date: Fri, 18 Sep 2020 09:54:21 +0800 Subject: [PATCH] =?UTF-8?q?!116=20=E3=80=90=E8=BD=BB=E9=87=8F=E7=BA=A7=20P?= =?UTF-8?q?R=E3=80=91=EF=BC=9Aupdate=20docs-en/readme/distributed-communic?= =?UTF-8?q?ation-subsystem.md.=20Merge=20pull=20request=20!116=20from=20ro?= =?UTF-8?q?binyin/N/A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs-en/readme/distributed-communication-subsystem.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-en/readme/distributed-communication-subsystem.md b/docs-en/readme/distributed-communication-subsystem.md index deba9b51a5..c73bffbc85 100755 --- a/docs-en/readme/distributed-communication-subsystem.md +++ b/docs-en/readme/distributed-communication-subsystem.md @@ -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) { -- GitLab