wsd: clean up redundant .c_str() call
Change-Id: I83e6160dec6cdbd8b621e1b783c9ea51be6b9125
This commit is contained in:
parent
1cf4334ec6
commit
0026f580a3
1 changed files with 1 additions and 1 deletions
|
@ -1568,7 +1568,7 @@ inline ServerSocket* getServerSocket(int portNumber, bool reuseDetails)
|
|||
try
|
||||
{
|
||||
LOG_INF("Trying first to connect to an existing loolwsd at the same port " << portNumber);
|
||||
StreamSocket s(SocketAddress(("127.0.0.1:" + std::to_string(portNumber)).c_str()));
|
||||
StreamSocket s(SocketAddress("127.0.0.1:" + std::to_string(portNumber)));
|
||||
LOG_FTL("Connection succeeded, so we can't continue");
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue