Ticket #10476: mythudplistener_cpp.diff

File mythudplistener_cpp.diff, 570 bytes (added by Gary Buhrmaster <gary.buhrmaster@…>, 9 years ago)
  • mythtv/libs/libmythui/mythudplistener.cpp

    diff --git a/mythtv/libs/libmythui/mythudplistener.cpp b/mythtv/libs/libmythui/mythudplistener.cpp
    index 1befbb7..65691f1 100644
    a b void MythUDPListener::Process(const QByteArray &buf, QHostAddress sender, 
    109109
    110110    if (!msg.isEmpty())
    111111    {
    112         if (timeout < 0 || timeout > 1000)
     112        if (timeout > 1000)
    113113            timeout = 0;
    114114        LOG(VB_GENERAL, LOG_INFO, QString("Received message '%1', timeout %2")
    115115            .arg(msg).arg(timeout));