mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Use CString::StartsWith()
Replace the use of deprecated CString::Equals(str,bool,int) by CString::StartsWith(str,cs) which is more pleasant to read.
This commit is contained in:
+1
-1
@@ -344,7 +344,7 @@ bool CHTTPSock::PrintFile(const CString& sFileName, CString sContentType) {
|
||||
|
||||
if (!m_sIfNoneMatch.empty()) {
|
||||
m_sIfNoneMatch.Trim("\\\"'");
|
||||
bNotModified = (m_sIfNoneMatch.Equals(sETag, true));
|
||||
bNotModified = (m_sIfNoneMatch.Equals(sETag, CString::CaseSensitive));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user