diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-10-11 17:12:43 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-10-11 17:12:43 +0000 |
commit | 08770934c167a28d64d8462b78410c43aee04348 (patch) | |
tree | 06d1fb0859aa7f4c667ea11d51d5724e2b31d05a /protocols/FacebookRM/src/utils.cpp | |
parent | 0932c0ac787bcdb792525423666d3e640cd2ec64 (diff) |
Facebook: Cleanup also old LOG macro
git-svn-id: http://svn.miranda-ng.org/main/trunk@6446 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.cpp')
-rw-r--r-- | protocols/FacebookRM/src/utils.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/protocols/FacebookRM/src/utils.cpp b/protocols/FacebookRM/src/utils.cpp index c9b6eb561a..d3f5d4680e 100644 --- a/protocols/FacebookRM/src/utils.cpp +++ b/protocols/FacebookRM/src/utils.cpp @@ -470,24 +470,3 @@ int utils::number::random() srand(::time(NULL));
return rand();
}
-
-/*
-int utils::debug::log(std::string file_name, std::string text)
-{
- char szFile[MAX_PATH];
- GetModuleFileNameA(g_hInstance, szFile, SIZEOF(szFile));
- std::string path = szFile;
- path = path.substr(0, path.rfind("\\"));
- path = path.substr(0, path.rfind("\\") + 1);
- path = path + file_name.c_str() + ".txt";
-
- SYSTEMTIME time;
- GetLocalTime(&time);
-
- std::ofstream out(path.c_str(), std::ios_base::out | std::ios_base::app | std::ios_base::ate);
- out << "[" << (time.wHour < 10 ? "0" : "") << time.wHour << ":" << (time.wMinute < 10 ? "0" : "") << time.wMinute << ":" << (time.wSecond < 10 ? "0" : "") << time.wSecond << "] " << text << std::endl;
- out.close();
-
- return EXIT_SUCCESS;
-}
-*/
\ No newline at end of file |