From 08770934c167a28d64d8462b78410c43aee04348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 11 Oct 2013 17:12:43 +0000 Subject: Facebook: Cleanup also old LOG macro git-svn-id: http://svn.miranda-ng.org/main/trunk@6446 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/utils.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'protocols/FacebookRM/src/utils.cpp') 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 -- cgit v1.2.3