Ticket #8024: 8024-strlist.patch

File 8024-strlist.patch, 792 bytes (added by Jeff Lu <jll544@…>, 11 years ago)
  • libs/libmyth/mythcontext.cpp

     
    20162016
    20172017    if (d->serverSock)
    20182018    {
    2019         d->serverSock->writeStringList(strlist);
     2019        QStringList sendstrlist = strlist;
     2020        d->serverSock->writeStringList(sendstrlist);
    20202021        ok = d->serverSock->readStringList(strlist, quickTimeout);
    20212022
    20222023        if (!ok)
     
    20302031
    20312032            if (d->serverSock)
    20322033            {
    2033                 d->serverSock->writeStringList(strlist);
     2034                d->serverSock->writeStringList(sendstrlist);
    20342035                ok = d->serverSock->readStringList(strlist, quickTimeout);
    20352036            }
    20362037        }