wsd: clean up redundant .c_str() call

Change-Id: I83e6160dec6cdbd8b621e1b783c9ea51be6b9125
This commit is contained in:
Miklos Vajna 2017-01-18 10:38:36 +01:00
parent 1cf4334ec6
commit 0026f580a3

View file

@ -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;
}