Skip to content

Commit

Permalink
Alters frontend network control to no prevent an empty response to a
Browse files Browse the repository at this point in the history
query. Fixes #9725. Patch by Gregory Moyer.
  • Loading branch information
wagnerrp committed Jul 8, 2011
1 parent 174207c commit 6ffb557
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions mythtv/programs/mythfrontend/networkcontrol.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 6ffb557

Please sign in to comment.