1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

Don't crash on setfileinfo on printer fsp.

Jeremy.
(This used to be commit 3a9ceb6b3b915d3153d9cb107f447b13002c0f57)
This commit is contained in:
Jeremy Allison 2002-07-18 23:25:19 +00:00
parent 4bc4a97e36
commit 8305400685

View File

@ -2246,7 +2246,8 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
SSVAL(params,0,0);
send_trans2_replies(outbuf, bufsize, params, 2, *ppdata, 0);
return(-1);
}
} else
return (UNIXERROR(ERRDOS,ERRbadpath));
} else {
/*
* Original code - this is an open file.