Ignore:
Timestamp:
2011-09-30T10:54:35+13:00 (13 years ago)
Author:
jmt12
Message:

Removing debug code, and adding in strings.h header to improve portability (although I guess it also make portability worse on Windoze - oh well)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/tdb-edit/trunk/src/src/txt2tdb-src/txt2tdb.cpp

    r24365 r24696  
    3535
    3636#include <cstdlib>
     37#include <cstring>
    3738
    3839#include <time.h>
     
    6263/** printUsage() **/
    6364
     65/*
    6466void
    6567debugLog(TDB_CONTEXT * tdb, char * msg_content)
     
    8486  }
    8587}
     88*/
    8689/** debugLog() **/
    8790
     
    161164
    162165  // If we are debugging, we'll write that we just opened the connection
     166  /*
    163167  if (debug)
    164168  {
    165169    debugLog(tdb, "opened connection to database for read/write");
    166170  }
     171  */
    167172
    168173  char c;
     
    290295
    291296  // If we are debugging, we'll write that we are about to close the connection
     297  /*
    292298  if (debug)
    293299  {
    294300    debugLog(tdb, "closing connection to database");
    295301  }
     302  */
    296303
    297304  // Close the database connection
Note: See TracChangeset for help on using the changeset viewer.