1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

fixed uninitialised snum

(This used to be commit 14251aab2e)
This commit is contained in:
Andrew Tridgell 2000-04-22 08:27:48 +00:00
parent 6259f51dd9
commit d384e1801d

View File

@ -2617,6 +2617,7 @@ static BOOL api_WPrintJobGetInfo(connection_struct *conn,uint16 vuid, char *para
if (!check_printjob_info(&desc,uLevel,str2)) return False;
job = SVAL(p,0);
snum = print_job_snum(job);
if (snum < 0 || !VALID_SNUM(snum)) return(False);