summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/pu_stub/pu_stub.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-26 18:00:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-26 18:00:06 +0000
commit38fc5783f3b046817c6f283dc6a61931dfb098d3 (patch)
tree53ab72cfe6469178bb6571b8be5946f1616c9eec /plugins/PluginUpdater/pu_stub/pu_stub.cpp
parent0e8145f03cb0c37938efa429f06c8e42c7d176f8 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@3785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/pu_stub/pu_stub.cpp')
-rw-r--r--plugins/PluginUpdater/pu_stub/pu_stub.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/pu_stub/pu_stub.cpp b/plugins/PluginUpdater/pu_stub/pu_stub.cpp
index 3ac358d4d4..19f5aade7b 100644
--- a/plugins/PluginUpdater/pu_stub/pu_stub.cpp
+++ b/plugins/PluginUpdater/pu_stub/pu_stub.cpp
@@ -65,10 +65,10 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR lpCmdLine, int)
hInst = hInstance;
TCHAR tszPipeName[MAX_PATH];
- #ifdef _MSC_VER < 1400
+ #if _MSC_VER < 1400
_stprintf(tszPipeName, _T("\\\\.\\pipe\\Miranda_Pu_%s"), lpCmdLine);
#else
- stprintf_s(tszPipeName, MAX_PATH, _T("\\\\.\\pipe\\Miranda_Pu_%s"), lpCmdLine);
+ _stprintf_s(tszPipeName, MAX_PATH, _T("\\\\.\\pipe\\Miranda_Pu_%s"), lpCmdLine);
#endif
log( L"Opening pipe %s...", tszPipeName);
HANDLE hPipe = CreateFile(tszPipeName, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);