summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-14 15:01:09 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-14 15:01:09 +0000
commit6475a9157464b132decbae2aee0f001a364c0dbe (patch)
treeeb961b21d2bd4055b04d76c5b99117af1ac3f03c
parentd2be32ca09b13a4c1c572e06235f64fd55ee8afd (diff)
downloadsamba-6475a9157464b132decbae2aee0f001a364c0dbe.tar.gz
samba-6475a9157464b132decbae2aee0f001a364c0dbe.tar.bz2
samba-6475a9157464b132decbae2aee0f001a364c0dbe.zip
fixed an obvious bug that meant that DosPrintQEnum could never
work. Now we'll see if it works after this fix ... (This used to be commit 9735d7e8e2978ce17a001d7d5766faf382ff5788)
-rw-r--r--source3/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 0a54936cd0..5b3939e98c 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -663,7 +663,7 @@ static BOOL api_DosPrintQEnum(int cnum, int uid, char* param, char* data,
DEBUG(3,("DosPrintQEnum uLevel=%d\n",uLevel));
- if (prefix_ok(param_format,"WrLeh")) return False;
+ if (!prefix_ok(param_format,"WrLeh")) return False;
if (!check_printq_info(&desc,uLevel,output_format1,output_format2))
return False;
queuecnt = 0;