summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-02 18:49:36 +0000
committerJeremy Allison <jra@samba.org>2000-08-02 18:49:36 +0000
commit468af1937d327cc579dbbdae6e4a9b030998f049 (patch)
treeefa5512ad4cbae29dd0460692b1e64436423c3ef /source3
parent17dcd9a834fc915fb1ff2d8042a23000eeb7acfa (diff)
downloadsamba-468af1937d327cc579dbbdae6e4a9b030998f049.tar.gz
samba-468af1937d327cc579dbbdae6e4a9b030998f049.tar.bz2
samba-468af1937d327cc579dbbdae6e4a9b030998f049.zip
Much though I hate to admit it - JF was completely correct. I cannot
now reproduce the bug I had with adding a printer driver, and PrintMig.exe crashes if I use my SD code but works with his. I stand completely corrected :-). - So I'm reverting to his code as it works :-). Jeremy. (This used to be commit d6db29be98f717a9038b5ac1ff492c70ce2e92a7)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index e618a81cc8..bd33b634f8 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -1813,7 +1813,7 @@ BOOL new_smb_io_printer_info_2(char *desc, NEW_BUFFER *buffer, PRINTER_INFO_2 *i
if (!new_smb_io_relstr("parameters", buffer, depth, &info->parameters))
return False;
-#if 1 /* JFMTEST */
+#if 0 /* JFMTEST */
if (!prs_uint32_pre("secdesc_ptr ", ps, depth, &dummy, &sec_offset))
return False;
#else
@@ -1838,7 +1838,7 @@ BOOL new_smb_io_printer_info_2(char *desc, NEW_BUFFER *buffer, PRINTER_INFO_2 *i
if (!prs_uint32("averageppm", ps, depth, &info->averageppm))
return False;
-#if 1 /* JFMTEST */
+#if 0 /* JFMTEST */
if (!prs_uint32_post("secdesc_ptr", ps, depth, NULL, sec_offset, info->secdesc ? prs_offset(ps)-buffer->struct_start : 0 ))
return False;