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
commit9735d7e8e2978ce17a001d7d5766faf382ff5788 (patch)
tree65d5ec4ca4174c5e1b470751d29978a17c9f4dca
parent424814bed710a96d87786763b851a11ea1103026 (diff)
downloadsamba-9735d7e8e2978ce17a001d7d5766faf382ff5788.tar.gz
fixed an obvious bug that meant that DosPrintQEnum could never
work. Now we'll see if it works after this fix ...
-rw-r--r--source/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c
index 0a54936cd02..5b3939e98c4 100644
--- a/source/smbd/ipc.c
+++ b/source/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;