Ticket #1264: sipmsg_decode.patch

File sipmsg_decode.patch, 728 bytes (added by russelb@…, 18 years ago)
  • sipstack.cpp

     
    369369
    370370    // Decode main body of SIP message
    371371    decodeRequestLine(attList[0]);
    372     QStringList::Iterator it;
    373     for (it=attList.begin(); (it != attList.end()) && (*it != ""); it++)
     372    QStringList::Iterator it = attList.begin();
     373    if (it != attList.end())
     374        it++; // We already decoded the first line, so skip it
     375    for (; (it != attList.end()) && (*it != ""); it++)
    374376        decodeLine(*it);
    375377
    376378    // Deccode main body of SIP message