mirror of
https://github.com/znc/znc.git
synced 2026-06-29 06:21:29 +02:00
First argument to CHTTPSock::PrintHeader() should be of type off_t
Thanks to KiNgMaR git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1474 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -372,7 +372,7 @@ bool CHTTPSock::SentHeader() const {
|
||||
return m_bSentHeader;
|
||||
}
|
||||
|
||||
bool CHTTPSock::PrintHeader(unsigned long uContentLength, const CString& sContentType, unsigned int uStatusId, const CString& sStatusMsg) {
|
||||
bool CHTTPSock::PrintHeader(off_t uContentLength, const CString& sContentType, unsigned int uStatusId, const CString& sStatusMsg) {
|
||||
if (SentHeader()) {
|
||||
DEBUG("- Header already sent!");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user