create repeat session name is ok

This commit is contained in:
zhufenghao 2021-07-23 17:24:05 +08:00
parent ddad5b2dba
commit b74f775b2b

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);