From 2fe96ce70e7b047882f695dd12086de89e2d1720 Mon Sep 17 00:00:00 2001 From: prozacx Date: Wed, 8 Feb 2006 06:09:31 +0000 Subject: [PATCH] Let PrintFile() auto detect content-type by default git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@616 726aef4b-f618-498e-8847-2d620e286838 --- HTTPSock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTTPSock.h b/HTTPSock.h index 4284b6f0..3561c19e 100644 --- a/HTTPSock.h +++ b/HTTPSock.h @@ -41,7 +41,7 @@ public: void ParseParams(const CString& sParams); void ParseURI(); void GetPage(); - bool PrintFile(const CString& sFileName, CString sContentType); + bool PrintFile(const CString& sFileName, CString sContentType = ""); // Setters void SetDocRoot(const CString& s);