Changeset 949
- Timestamp:
- Aug 11, 2016, 10:27:39 AM (9 years ago)
- Location:
- trunk/server/source3/nmbd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/nmbd/asyncdns.c
r855 r949 170 170 CatchSignal(SIGTERM, sig_term); 171 171 172 #ifdef __OS2__173 /* restore the logfile to log.nmbd always */174 char *lfile = NULL;175 if (asprintf(&lfile, "%s/log.nmbd.%d", get_dyn_LOGFILEBASE(), getpid()) < 0)176 exit(1);177 178 lp_set_logfile(lfile);179 SAFE_FREE(lfile);180 reopen_logs();181 #endif182 172 status = reinit_after_fork(nmbd_messaging_context(), 183 173 nmbd_event_context(), -
trunk/server/source3/nmbd/nmbd.c
r855 r949 399 399 /* restore the logfile to log.nmbd always */ 400 400 char *lfile = NULL; 401 if (asprintf(&lfile, "%s/log.nmbd .%d", get_dyn_LOGFILEBASE(), getpid()) < 0)401 if (asprintf(&lfile, "%s/log.nmbd", get_dyn_LOGFILEBASE()) < 0) 402 402 exit(1); 403 403 … … 895 895 } 896 896 897 #ifdef __OS2__898 /* restore the logfile to log.nmbd always and also use smb.conf settings*/899 char *lfile = NULL;900 if (asprintf(&lfile, "%s/log.nmbd.%d", get_dyn_LOGFILEBASE(), getpid()) < 0)901 exit(1);902 903 lp_set_logfile(lfile);904 SAFE_FREE(lfile);905 906 reopen_logs();907 #endif908 909 897 if (nmbd_messaging_context() == NULL) { 910 898 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.