diff options
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index db2be094b1..d71c23c87b 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1502,9 +1502,8 @@ static int call_trans2setfilepathinfo(connection_struct *conn, return(ERROR(ERRSRV,ERRaccess)); if (tran_call == TRANSACT2_SETFILEINFO) { - info_level = SVAL(params,2); - fsp = file_fsp(params,0); + info_level = SVAL(params,2); if(fsp && fsp->open && fsp->is_directory) { /* |