Ignore:
Timestamp:
May 27, 2009, 9:09:42 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/printing/printfsp.c

    r228 r232  
    2929
    3030NTSTATUS print_fsp_open(connection_struct *conn, const char *fname,
    31                         files_struct *fsp)
     31                        files_struct *fsp, SMB_STRUCT_STAT *psbuf)
    3232{
    3333        int jobid;
    34         SMB_STRUCT_STAT sbuf;
    3534        fstring name;
    3635        NTSTATUS status;
     
    7675        string_set(&fsp->fsp_name,print_job_fname(lp_const_servicename(SNUM(conn)),jobid));
    7776        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);
    8180
    8281        return NT_STATUS_OK;
Note: See TracChangeset for help on using the changeset viewer.