Changeset 232 for branches/samba-3.2.x/source/printing
- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- Location:
- branches/samba-3.2.x/source/printing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/printing/print_cups.c
r228 r232 389 389 390 390 /* Child. */ 391 if (!reinit_after_fork(smbd_messaging_context(), true)) { 391 close_all_print_db(); 392 393 if (!reinit_after_fork(smbd_messaging_context(), 394 smbd_event_context(), true)) { 392 395 DEBUG(0,("cups_pcap_load_async: reinit_after_fork() failed\n")); 393 396 smb_panic("cups_pcap_load_async: reinit_after_fork() failed"); … … 1711 1714 ippDelete(response); 1712 1715 1716 if (request) { 1717 ippDelete(request); 1718 } 1719 1713 1720 if (language) 1714 1721 cupsLangFree(language); -
branches/samba-3.2.x/source/printing/printfsp.c
r228 r232 29 29 30 30 NTSTATUS print_fsp_open(connection_struct *conn, const char *fname, 31 files_struct *fsp )31 files_struct *fsp, SMB_STRUCT_STAT *psbuf) 32 32 { 33 33 int jobid; 34 SMB_STRUCT_STAT sbuf;35 34 fstring name; 36 35 NTSTATUS status; … … 76 75 string_set(&fsp->fsp_name,print_job_fname(lp_const_servicename(SNUM(conn)),jobid)); 77 76 fsp->wcp = NULL; 78 SMB_VFS_FSTAT(fsp, &sbuf);79 fsp->mode = sbuf.st_mode;80 fsp->file_id = vfs_file_id_from_sbuf(conn, &sbuf);77 SMB_VFS_FSTAT(fsp, psbuf); 78 fsp->mode = psbuf->st_mode; 79 fsp->file_id = vfs_file_id_from_sbuf(conn, psbuf); 81 80 82 81 return NT_STATUS_OK; -
branches/samba-3.2.x/source/printing/printing.c
r228 r232 1422 1422 pause_pipe[0] = -1; 1423 1423 1424 if (!reinit_after_fork(smbd_messaging_context(), true)) { 1424 if (!reinit_after_fork(smbd_messaging_context(), 1425 smbd_event_context(), true)) { 1425 1426 DEBUG(0,("reinit_after_fork() failed\n")); 1426 1427 smb_panic("reinit_after_fork() failed");
Note:
See TracChangeset
for help on using the changeset viewer.