Ticket #13263: 20180524_gary_patch2b_ticket13263.patch

File 20180524_gary_patch2b_ticket13263.patch, 532 bytes (added by Peter Bennett, 11 months ago)

patch 2b

  • mythtv/libs/libmythbase/mythsocket.cpp

    diff --git a/mythtv/libs/libmythbase/mythsocket.cpp b/mythtv/libs/libmythbase/mythsocket.cpp
    index bed0172cad..66a2d3f675 100644
    a b void MythSocket::ResetReal(void) 
    10061006        if (avail)
    10071007        {
    10081008            trash.resize(max((uint)trash.size(),avail));
    1009             m_tcpSocket->read(&trash[0], avail);
     1009            m_tcpSocket->read(trash.data(), avail);
    10101010        }
    10111011
    10121012        LOG(VB_NETWORK, LOG_INFO, LOC + "Reset() " +