1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some whitespace style and cleaned up some code using C++11

This commit is contained in:
jules 2017-03-27 13:06:24 +01:00
parent 405a6aeaed
commit 8ed41ed14b
95 changed files with 310 additions and 320 deletions

View file

@ -151,7 +151,7 @@ String InterprocessConnection::getConnectedHostName() const
const ScopedLock sl (pipeAndSocketLock);
if (pipe == nullptr && socket == nullptr)
return String();
return {};
if (socket != nullptr && ! socket->isLocal())
return socket->getHostName();