mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-24 09:20:04 +00:00
create repeat session name is ok
This commit is contained in:
parent
ddad5b2dba
commit
b74f775b2b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user