From ee8b6d3e7acadbd3bd87a1c3cfb06e7b7af88c64 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 19 Jun 2014 20:03:37 +0000 Subject: revert unicode git-svn-id: http://svn.miranda-ng.org/main/trunk@9543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HTTPServer/src/HttpUser.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'plugins/HTTPServer/src/HttpUser.h') diff --git a/plugins/HTTPServer/src/HttpUser.h b/plugins/HTTPServer/src/HttpUser.h index d428391249..00b43a76eb 100644 --- a/plugins/HTTPServer/src/HttpUser.h +++ b/plugins/HTTPServer/src/HttpUser.h @@ -33,13 +33,13 @@ enum ENParamTypes { eLastParam }; -static TCHAR * szParmStr[eLastParam] = { - _T("Range: "), - _T("If-Range: "), - _T("Unless-Modified-Since: "), - _T("If-Modified-Since: "), - _T("User-Agent: "), - _T("Host: ") +static char * szParmStr[eLastParam] = { + "Range: ", + "If-Range: ", + "Unless-Modified-Since: ", + "If-Modified-Since: ", + "User-Agent: ", + "Host: " }; @@ -48,23 +48,23 @@ public: CLHttpUser(HANDLE hCon, in_addr stAdd); virtual ~CLHttpUser(); - bool bReadGetParameters(TCHAR *pszRequest); + bool bReadGetParameters(char * pszRequest); //bool bSendFile( HANDLE hFile , bool bCloseTransfers() { return true; } - bool bProcessGetRequest(TCHAR *pszRequest, bool bIsGetCommand); - const TCHAR * pszCustomInfo() { + bool bProcessGetRequest(char * pszRequest, bool bIsGetCommand); + const char * pszCustomInfo() { return apszParam[eUserAgent]; } void HandleNewConnection(); private: HANDLE hFile; - TCHAR *apszParam[eLastParam]; + char *apszParam[eLastParam]; - void SendError(int iErrorCode, const TCHAR *pszError, const TCHAR *pszDescription = NULL); - void SendRedir(int iErrorCode, const TCHAR *pszError, const TCHAR *pszDescription = NULL, const TCHAR *pszRedirect = NULL); + void SendError(int iErrorCode, const char * pszError, const char * pszDescription = NULL); + void SendRedir(int iErrorCode, const char * pszError, const char * pszDescription = NULL, const char * pszRedirect = NULL); }; #endif \ No newline at end of file -- cgit v1.2.3