!81 create repeat session name is ok

Merge pull request !81 from defeng2020/wdf
This commit is contained in:
openharmony_ci 2021-07-23 09:51:17 +00:00 committed by Gitee
commit 2e7f222e8b

View File

@ -94,7 +94,8 @@ int CreateSessionServer(const char *pkgName, const char *sessionName, const ISes
ret = ServerIpcCreateSessionServer(pkgName, sessionName);
if (ret == SOFTBUS_SERVER_NAME_REPEATED) {
LOG_ERR("SessionServer is already created");
LOG_INFO("SessionServer is already created");
ret = SOFTBUS_OK;
} else if (ret != SOFTBUS_OK) {
LOG_ERR("Server createSessionServer failed");
(void)ClientDeleteSessionServer(SEC_TYPE_CIPHERTEXT, sessionName);