summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-03-08 21:57:53 +0000
committerGerald Carter <jerry@samba.org>2002-03-08 21:57:53 +0000
commitc3e813945c5c44a846efa522632e2b1e724d0bd9 (patch)
tree83c8247265e5d1037ebd86f905594eb77a627eff /source3/rpc_server/srv_spoolss_nt.c
parent6bf9b6e702585ef4a1772980ad3a495c292fdbe0 (diff)
downloadsamba-c3e813945c5c44a846efa522632e2b1e724d0bd9.tar.gz
samba-c3e813945c5c44a846efa522632e2b1e724d0bd9.tar.bz2
samba-c3e813945c5c44a846efa522632e2b1e724d0bd9.zip
merge from 2.2
(This used to be commit 4960692e958c986ca7f71e091333300310b0e0b2)
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
1 files changed, 2 insertions, 2 deletions
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)