summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/statistics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TrafficCounter/src/statistics.cpp')
-rw-r--r--plugins/TrafficCounter/src/statistics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/statistics.cpp b/plugins/TrafficCounter/src/statistics.cpp
index 859ecb40a9..e8a975fdf1 100644
--- a/plugins/TrafficCounter/src/statistics.cpp
+++ b/plugins/TrafficCounter/src/statistics.cpp
@@ -326,7 +326,7 @@ void Stat_ReadFile(BYTE n)
SYSTEMTIME stNow, stLast = {0};
pszPath = Utils_ReplaceVarsT(_T("%miranda_userdata%\\statistics"));
- CallService(MS_UTILS_CREATEDIRTREET, 0, (LPARAM)pszPath);
+ CreateDirectoryTreeT(pszPath);
mir_sntprintf(FileName, MAX_PATH, _T("%s\\%S.stat"), pszPath, ProtoList[n].name);
mir_free(pszPath);
GetLocalTime(&stNow);