summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-22 08:27:48 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-22 08:27:48 +0000
commitd384e1801d7cd841f67f3c9216900d2e59e9d1d5 (patch)
tree20dc952ba3b50c4ca81fc0392ccffc0d6d5e2361
parent6259f51dd9918eccc9697f3763d918f7c9b82b50 (diff)
downloadsamba-d384e1801d7cd841f67f3c9216900d2e59e9d1d5.tar.gz
samba-d384e1801d7cd841f67f3c9216900d2e59e9d1d5.tar.bz2
samba-d384e1801d7cd841f67f3c9216900d2e59e9d1d5.zip
fixed uninitialised snum
(This used to be commit 14251aab2ec00aa7f3e6a6e791e78732cb5a9eda)
-rw-r--r--source3/smbd/lanman.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 391a94596a..aaf2bc017f 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -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);