summaryrefslogtreecommitdiffstats
path: root/source/smbd/lanman.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/lanman.c')
-rw-r--r--source/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/lanman.c b/source/smbd/lanman.c
index c84812cb834..fe3516ee9d6 100644
--- a/source/smbd/lanman.c
+++ b/source/smbd/lanman.c
@@ -933,7 +933,7 @@ static BOOL api_DosPrintQGetInfo(connection_struct *conn,
* in order to support lanman style printing with Win NT/2k
* clients --jerry
*/
- if (!mdrcnt && lp_lanman_printing_only())
+ if (!mdrcnt && lp_disable_spoolss())
desc.errcode = ERRbuftoosmall;
*rdata_len = desc.usedlen;