Changeset 854 for trunk/server/source3/nmbd/nmbd.c
- Timestamp:
- Feb 24, 2014, 3:48:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/nmbd/nmbd.c
r845 r854 398 398 #ifdef __OS2__ 399 399 /* restore the logfile to log.nmbd always */ 400 401 if (asprintf(&lfile, "%s/log.nmbd", get_dyn_LOGFILEBASE()) < 0) {402 403 } 404 405 400 char *lfile = NULL; 401 if (asprintf(&lfile, "%s/log%d.nmbd", get_dyn_LOGFILEBASE(), getpid()) < 0) 402 exit(1); 403 404 lp_set_logfile(lfile); 405 SAFE_FREE(lfile); 406 406 #endif 407 407 return(ret); … … 841 841 if (!override_logfile) { 842 842 char *lfile = NULL; 843 if (asprintf(&lfile, "%s/log .nmbd", get_dyn_LOGFILEBASE()) < 0) {843 if (asprintf(&lfile, "%s/log%d.nmbd", get_dyn_LOGFILEBASE(), getpid()) < 0) { 844 844 exit(1); 845 845 }
Note:
See TracChangeset
for help on using the changeset viewer.