From c3e813945c5c44a846efa522632e2b1e724d0bd9 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 8 Mar 2002 21:57:53 +0000 Subject: merge from 2.2 (This used to be commit 4960692e958c986ca7f71e091333300310b0e0b2) --- source3/rpc_server/srv_spoolss_nt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 7319356568..294d9d5535 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1282,7 +1282,7 @@ WERROR _spoolss_getprinterdata(pipes_struct *p, SPOOL_Q_GETPRINTERDATA *q_u, SPO } if (*needed > *out_size) - return WERR_STATUS_MORE_ENTRIES; + return WERR_MORE_DATA; else return WERR_OK; } @@ -7176,7 +7176,7 @@ WERROR _spoolss_getprinterdataex(pipes_struct *p, SPOOL_Q_GETPRINTERDATAEX *q_u, *data = NULL; } - return WERR_INVALID_PARAM; + return WERR_BADFILE; } if (*needed > *out_size) -- cgit