Skip to content

Commit

Permalink
Fix timeout on mediaserver announcements.
Browse files Browse the repository at this point in the history
The socket code was converted in 2009 from taking a boolean to indicate
a 'short' timeout, to taking an actual timeout in milliseconds.  Fix
one location that didn't get converted.
  • Loading branch information
linuxdude42 committed Apr 1, 2019
1 parent 4ce623a commit b7886b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/mythsocket.cpp
Expand Up @@ -481,7 +481,7 @@ bool MythSocket::Announce(const QStringList &new_announce)
WriteStringList(new_announce);

QStringList tmplist;
if (!ReadStringList(tmplist, true))
if (!ReadStringList(tmplist, MythSocket::kShortTimeout))
{
LOG(VB_GENERAL, LOG_ERR, LOC +
QString("\n\t\t\tCould not read string list from server %1:%2")
Expand Down

0 comments on commit b7886b4

Please sign in to comment.