summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_spoolss.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-06-24 19:51:23 +0000
committerGerald Carter <jerry@samba.org>2002-06-24 19:51:23 +0000
commit900fb62238be30cdc87bfd2bede6fdff611ebae5 (patch)
treecb5073f32d4faf1a3eee3392da04b3b09424d10f /source3/rpc_parse/parse_spoolss.c
parent24b67730bf7bbf4414df99129a3cc20aa93dc0da (diff)
downloadsamba-900fb62238be30cdc87bfd2bede6fdff611ebae5.tar.gz
samba-900fb62238be30cdc87bfd2bede6fdff611ebae5.tar.bz2
samba-900fb62238be30cdc87bfd2bede6fdff611ebae5.zip
printing merge from SAMBA_2_2. Ther server code looks to be in sync now.
Mostly formatting and s/free/SAFE_FREE/g changes with the two exceptions being * John driver init changes * Tim's printer enumeration bug fix (This used to be commit f7536762863811f96364e8acd3716bdb7d665bbf)
Diffstat (limited to 'source3/rpc_parse/parse_spoolss.c')
-rw-r--r--source3/rpc_parse/parse_spoolss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index 60b5e60a81..aa7fcd0010 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -695,6 +695,7 @@ BOOL spoolss_io_devmode(char *desc, prs_struct *ps, int depth, DEVICEMODE *devmo
while ((available_space > 0) && (i < DM_NUM_OPTIONAL_FIELDS))
{
+ DEBUG(10, ("spoolss_io_devmode: [%d] bytes left to parse in devmode\n", available_space));
if (!prs_uint32(opt_fields[i].name, ps, depth, opt_fields[i].field))
return False;
available_space -= sizeof(uint32);
@@ -1115,6 +1116,7 @@ BOOL make_spoolss_q_getprinterdata(SPOOL_Q_GETPRINTERDATA *q_u,
q_u->handle = *handle;
init_unistr2(&q_u->valuename, valuename, strlen(valuename) + 1);
q_u->size = size;
+
return True;
}