summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/HttpUser.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-06-19 20:03:37 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-06-19 20:03:37 +0000
commitee8b6d3e7acadbd3bd87a1c3cfb06e7b7af88c64 (patch)
tree709e1c4b33d035e228091cf8bc3edbd6e2159a53 /plugins/HTTPServer/src/HttpUser.h
parent4b546fcda174b787db34d6c95f122f21fb6c99b3 (diff)
revert unicode
git-svn-id: http://svn.miranda-ng.org/main/trunk@9543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HTTPServer/src/HttpUser.h')
-rw-r--r--plugins/HTTPServer/src/HttpUser.h26
1 files changed, 13 insertions, 13 deletions
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