[pisa-src] r1436 - trunk/tools/iwlist_parser.c

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 29 Oct 2009 19:43:20 +0100

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

Other related posts:

  • » [pisa-src] r1436 - trunk/tools/iwlist_parser.c - Diego Biurrun