Ignore:
Timestamp:
Apr 20, 2010, 4:35:26 PM (15 years ago)
Author:
Silvan Scherrer
Message:

samba client 1.6: added all remaining 1.5 changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/client-1.6/src/debug.c

    r189 r441  
    3333char logfile[_MAX_PATH +1]  = {0};
    3434char debugfile[_MAX_PATH +1] = {0};
    35 char logfilename[] = "ndpsmb.log";
     35char logfilename[] = "log.ndpsmb";
     36BOOL do_logging = FALSE;
    3637
    3738int debuglvl(int level)
    3839{
    3940        return (level <= debuglevel) ? 1 : 0;
     41}
     42
     43BOOL writeLog()
     44{
     45        return do_logging;
    4046}
    4147
     
    7076                   strncpy(logfile, logfilename, sizeof(logfile) -1);
    7177                }
     78                // set the samba logging stuff
     79                do_logging = TRUE;
    7280        } /* endif */
    7381
Note: See TracChangeset for help on using the changeset viewer.