Changeset 232 for branches/samba-3.2.x/source/printing/printfsp.c
- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.