wsd/LOOLWSD.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0026f580a369854a22e3ab9293bee1ec22875b58
Author: Miklos Vajna <[email protected]>
Date: Wed Jan 18 10:38:36 2017 +0100
wsd: clean up redundant .c_str() call
Change-Id: I83e6160dec6cdbd8b621e1b783c9ea51be6b9125
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 01e929e..f41cb70 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -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;
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits