Skip to content
Permalink
Browse files

Alters frontend network control to no prevent an empty response to a

query. Fixes #9725. Patch by Gregory Moyer.
  • Loading branch information
wagnerrp committed Jul 8, 2011
1 parent 174207c commit 6ffb557d657dcca232b4335213eccfa6825c5de5
Showing with 4 additions and 7 deletions.
  1. +4 −7 mythtv/programs/mythfrontend/networkcontrol.cpp
@@ -317,14 +317,11 @@ void NetworkControl::processNetworkControlCommand(NetworkCommand *nc)
result = QString("INVALID command '%1', try 'help' for more info")
.arg(nc->getArg(0));

if (!result.isEmpty())
{
nrLock.lock();
networkControlReplies.push_back(new NetworkCommand(nc->getClient(),result));
nrLock.unlock();
nrLock.lock();
networkControlReplies.push_back(new NetworkCommand(nc->getClient(),result));
nrLock.unlock();

notifyDataAvailable();
}
notifyDataAvailable();
}

void NetworkControl::deleteClient(void)

0 comments on commit 6ffb557

Please sign in to comment.
You can’t perform that action at this time.