summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-07-01 16:40:10 +0000
committerJean-François Micouleau <jfm@samba.org>2000-07-01 16:40:10 +0000
commit2d2b6a46f7d6430ee274eed70ba488338a32861a (patch)
tree4c2ea56cda46e08f368eb6522c93e5e9b5009f39 /source3/rpc_server
parent104217f3b05aa206b37ab6af0899dbe71d142d2e (diff)
downloadsamba-2d2b6a46f7d6430ee274eed70ba488338a32861a.tar.gz
samba-2d2b6a46f7d6430ee274eed70ba488338a32861a.tar.bz2
samba-2d2b6a46f7d6430ee274eed70ba488338a32861a.zip
reverting Jeremy's changes to enumprinterdata.
Jeremy, the out_max_value_len and out_max_data_len were good. Your change is breaking NT4SP6 checked version. J.F. (This used to be commit 5f2be8ba7dcd1eacc169e8d1d53c309e45a5cce6)
Diffstat (limited to 'source3/rpc_server')
-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 2e153b26c5..c31fd8ebf5 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -4181,7 +4181,7 @@ uint32 _spoolss_enumprinterdata(const POLICY_HND *handle, uint32 idx,
return ERROR_NOT_ENOUGH_MEMORY;
}
*out_value_len = (uint32)dos_PutUniCode((char *)*out_value, value, in_value_len, True);
-#if 1 /* JRATEST */
+#if 0 /* JRATEST */
*out_max_value_len=(*out_value_len/sizeof(uint16));
#endif /* JRATEST */
@@ -4195,7 +4195,7 @@ uint32 _spoolss_enumprinterdata(const POLICY_HND *handle, uint32 idx,
}
memcpy(*data_out, data, (size_t)data_len);
*out_data_len=data_len;
-#if 1 /* JRATEST */
+#if 0 /* JRATEST */
*out_max_data_len=data_len;
#endif /* JRATEST */