Author: biurrun Date: Thu Oct 29 19:43:19 2009 New Revision: 1436 Log: Remove unused function logEvents. Modified: trunk/tools/iwlist_parser.c Modified: trunk/tools/iwlist_parser.c ============================================================================== --- trunk/tools/iwlist_parser.c Thu Oct 29 19:33:24 2009 (r1435) +++ trunk/tools/iwlist_parser.c Thu Oct 29 19:43:19 2009 (r1436) @@ -259,24 +259,6 @@ } } -// Log a given message to a file (currently a fixed one). -// @param message - The message to be logged -// -static void logEvent(const char * message) -{ - FILE * pLogFile = 0; - char strTime[32]; - - sprintf(strTime, "%i", (int) time(NULL)); - pLogFile = fopen("iwlist_parser.log", "a"); - - fwrite(strTime, 1, strlen(strTime), pLogFile); - fwrite("\t", 1, 1, pLogFile); - fwrite(message, 1, strlen(message), pLogFile); - fwrite("\n", 1, 1, pLogFile); - fclose(pLogFile); -} - // Main routine. // Some initializations & option parsing