fixed an obvious bug that meant that DosPrintQEnum could never
authorAndrew Tridgell <tridge@samba.org>
Wed, 14 Aug 1996 15:01:09 +0000 (15:01 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 14 Aug 1996 15:01:09 +0000 (15:01 +0000)
work. Now we'll see if it works after this fix ...
(This used to be commit 9735d7e8e2978ce17a001d7d5766faf382ff5788)

source3/smbd/ipc.c

index 0a54936cd022d867ab161534988c1fcc3171ec90..5b3939e98c4da0fe460e55addcee85febe38bb47 100644 (file)
@@ -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;