diff options
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 |