diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 13:21:26 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 15:59:01 +0100 |
commit | 87a684f7fcfa8d9fabc42e33981299d0b33eeeb7 (patch) | |
tree | 9c348c30ed24be60e1aa96e725af3f06bf82ad5a /source3/printing/nt_printing.c | |
parent | 8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7 (diff) | |
download | samba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.tar.gz samba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.tar.bz2 samba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.zip |
Remove redundant parameter fd from SMB_VFS_FSTAT().
Michael
(This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r-- | source3/printing/nt_printing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index b661b6fd56..1a4a26ee6f 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1360,7 +1360,7 @@ static int file_version_is_newer(connection_struct *conn, fstring new_file, fstr DEBUG(6,("file_version_is_newer: Version info not found [%s], use mod time\n", old_file)); use_version = false; - if (SMB_VFS_FSTAT(fsp, fsp->fh->fd, &st) == -1) { + if (SMB_VFS_FSTAT(fsp, &st) == -1) { goto error_exit; } old_create_time = st.st_mtime; @@ -1400,7 +1400,7 @@ static int file_version_is_newer(connection_struct *conn, fstring new_file, fstr DEBUG(6,("file_version_is_newer: Version info not found [%s], use mod time\n", new_file)); use_version = false; - if (SMB_VFS_FSTAT(fsp, fsp->fh->fd, &st) == -1) { + if (SMB_VFS_FSTAT(fsp, &st) == -1) { goto error_exit; } new_create_time = st.st_mtime; |