Changeset 441 for branches/client-1.6/src/debug.c
- Timestamp:
- Apr 20, 2010, 4:35:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-1.6/src/debug.c
r189 r441 33 33 char logfile[_MAX_PATH +1] = {0}; 34 34 char debugfile[_MAX_PATH +1] = {0}; 35 char logfilename[] = "ndpsmb.log"; 35 char logfilename[] = "log.ndpsmb"; 36 BOOL do_logging = FALSE; 36 37 37 38 int debuglvl(int level) 38 39 { 39 40 return (level <= debuglevel) ? 1 : 0; 41 } 42 43 BOOL writeLog() 44 { 45 return do_logging; 40 46 } 41 47 … … 70 76 strncpy(logfile, logfilename, sizeof(logfile) -1); 71 77 } 78 // set the samba logging stuff 79 do_logging = TRUE; 72 80 } /* endif */ 73 81
Note:
See TracChangeset
for help on using the changeset viewer.