mirror of
https://github.com/znc/znc.git
synced 2026-05-04 12:32:33 +02:00
Last batch of C++11 range-based for loops (#816)
This commit is contained in:
@@ -111,9 +111,7 @@ void CHTTPSock::ReadLine(const CString& sData) {
|
||||
|
||||
sLine.Token(1, true).Split(";", vsNV, false, "", "", true, true);
|
||||
|
||||
for (unsigned int a = 0; a < vsNV.size(); a++) {
|
||||
CString s(vsNV[a]);
|
||||
|
||||
for (const CString& s : vsNV) {
|
||||
m_msRequestCookies[s.Token(0, false, "=").Escape_n(CString::EURL, CString::EASCII)] =
|
||||
s.Token(1, true, "=").Escape_n(CString::EURL, CString::EASCII);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user