diff options
author | Gerald Carter <jerry@samba.org> | 2002-03-08 22:07:18 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-03-08 22:07:18 +0000 |
commit | 8fa6b34e08e21546082892f27e3d70bae211c371 (patch) | |
tree | 3d09ce15dafc657f63a5710730d10388e577613a | |
parent | c3e813945c5c44a846efa522632e2b1e724d0bd9 (diff) | |
download | samba-8fa6b34e08e21546082892f27e3d70bae211c371.tar.gz samba-8fa6b34e08e21546082892f27e3d70bae211c371.tar.bz2 samba-8fa6b34e08e21546082892f27e3d70bae211c371.zip |
merge from 2.2
(This used to be commit 66eb969ade0dfde355df3e308dccbc9522087eef)
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 294d9d5535..f489802f77 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1124,7 +1124,7 @@ static BOOL getprinterdata_printer_server(TALLOC_CTX *ctx, fstring value, uint32 *type = 0x4; if((*data = (uint8 *)talloc(ctx, 4*sizeof(uint8) )) == NULL) return False; - SIVAL(*data, 0, 0x02); + SIVAL(*data, 0, 0x03); *needed = 0x4; return True; } @@ -7157,7 +7157,7 @@ WERROR _spoolss_getprinterdataex(pipes_struct *p, SPOOL_Q_GETPRINTERDATAEX *q_u, */ if (strcmp(key, "PrinterDriverData") != 0) - return WERR_INVALID_PARAM; + return WERR_BADFILE; DEBUG(10, ("_spoolss_getprinterdataex: pass me to getprinterdata\n")); found = getprinterdata_printer(p, p->mem_ctx, handle, value, @@ -7176,7 +7176,7 @@ WERROR _spoolss_getprinterdataex(pipes_struct *p, SPOOL_Q_GETPRINTERDATAEX *q_u, *data = NULL; } - return WERR_BADFILE; + return WERR_INVALID_PARAM; } if (*needed > *out_size) |