summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fbgui/networkdiscovery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fbgui/networkdiscovery.cpp b/src/fbgui/networkdiscovery.cpp
index 49aa148..0198086 100644
--- a/src/fbgui/networkdiscovery.cpp
+++ b/src/fbgui/networkdiscovery.cpp
@@ -553,7 +553,7 @@ void NetworkDiscovery::handleNewInput(QLocalSocket * client) {
QString data(client->readLine());
data = data.trimmed();
- LOG4CXX_DEBUG(ndcLogger, data);
+ if (!data.isEmpty()) LOG4CXX_DEBUG(ndcLogger, data);
QStringList lines = data.split("\n");
for (int i = 0; i < lines.length(); i++) {
@@ -621,6 +621,7 @@ void NetworkDiscovery::handleNewInputLine(QLocalSocket * client, QString logMsg)
_ifNameToClient.insert(interface, client);
}
+
// st states
// #define LOG_EMERG 0 /* system is unusable */