summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_spoolss.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-08-17 13:17:41 +0000
committerGerald Carter <jerry@samba.org>2002-08-17 13:17:41 +0000
commitd59b0eb1236cf5bb9371030a94eb60d4131c15fb (patch)
tree98dc5ae9c95b8cce9a3f9796c13364bcf648435e /source/rpc_parse/parse_spoolss.c
parentb224938e4e843288630cdc7c3c3931b241bd0e1a (diff)
downloadsamba-d59b0eb1236cf5bb9371030a94eb60d4131c15fb.tar.gz
samba-d59b0eb1236cf5bb9371030a94eb60d4131c15fb.tar.xz
samba-d59b0eb1236cf5bb9371030a94eb60d4131c15fb.zip
* the printing code should now be back to the working state it was
before the swap from NT_PRINTER_PARAM to REGISTRY_VALUE. * XxxPrinterDataEx() functions have not been expanded to support keys other than SPOOL_PRINTERDATA_KEY yet * fixed apparent long standing bug regarding the dependentfiles list in the DRIVER_INFO struct
Diffstat (limited to 'source/rpc_parse/parse_spoolss.c')
-rw-r--r--source/rpc_parse/parse_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_parse/parse_spoolss.c b/source/rpc_parse/parse_spoolss.c
index ac41a81a5a1..3a7f4b57ae6 100644
--- a/source/rpc_parse/parse_spoolss.c
+++ b/source/rpc_parse/parse_spoolss.c
@@ -5200,7 +5200,7 @@ static BOOL uniarray_2_dosarray(BUFFER5 *buf5, fstring **ar)
*ar = NULL;
while (src < ((char *)buf5->buffer) + buf5->buf_len*2) {
- rpcstr_pull(f, src, sizeof(f)-1, 0, 0);
+ rpcstr_pull(f, src, sizeof(f)-1, -1, STR_TERMINATE);
src = skip_unibuf(src, 2*buf5->buf_len - PTR_DIFF(src,buf5->buffer));
tar = (fstring *)Realloc(*ar, sizeof(fstring)*(n+2));
if (!tar)