Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2012-12-26 15:54:07 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-12-27 20:35:22 +0400
commit243749b0a2b8eba73867f0d0aa19c2b3918084d5 (patch)
tree41f9f3c23bea1b473e57811b4d5c14b1be9f8a3d /src/filters/parser/BaseSplitter
parent0533530d9f661b0ec19756382a8c99b679182b5f (diff)
switch back to MAX_PATH
Diffstat (limited to 'src/filters/parser/BaseSplitter')
-rw-r--r--src/filters/parser/BaseSplitter/AsyncReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/parser/BaseSplitter/AsyncReader.cpp b/src/filters/parser/BaseSplitter/AsyncReader.cpp
index 08b1f7c26..73af2b46b 100644
--- a/src/filters/parser/BaseSplitter/AsyncReader.cpp
+++ b/src/filters/parser/BaseSplitter/AsyncReader.cpp
@@ -196,9 +196,9 @@ DWORD CAsyncUrlReader::ThreadProc()
CInternetSession is;
CAutoPtr<CStdioFile> fin(is.OpenURL(m_url, 1, INTERNET_FLAG_TRANSFER_BINARY | INTERNET_FLAG_EXISTING_CONNECT | INTERNET_FLAG_NO_CACHE_WRITE));
- TCHAR path[_MAX_PATH], fn[_MAX_PATH];
+ TCHAR path[MAX_PATH], fn[MAX_PATH];
CFile fout;
- if (GetTempPath(_MAX_PATH, path) && GetTempFileName(path, _T("mpc_http"), 0, fn)
+ if (GetTempPath(MAX_PATH, path) && GetTempFileName(path, _T("mpc_http"), 0, fn)
&& fout.Open(fn, modeCreate | modeWrite | shareDenyWrite | typeBinary)) {
m_fn = fn;