提交 c3ddca61 编写于 作者: R robinyin 提交者: openharmony_ci

!115 【轻量级 PR】:update readme/分布式通信子系统README.md.

Merge pull request !115 from robinyin/N/A
上级 0c2a0be9
......@@ -131,7 +131,7 @@ int OnSessionOpenedEventTest(int sessionId)
// 向SoftBus注册业务会话服务及其回调
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.
先完成此消息的编辑!
想要评论请 注册