summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_spoolss.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-06-27 01:12:37 +0000
committerGerald Carter <jerry@samba.org>2002-06-27 01:12:37 +0000
commit8587400d28ae53d25bd10d9dcac60713092720d1 (patch)
tree864ce44d15bb38fd05f1e6c5cd5276705a0ffdf2 /source3/rpc_parse/parse_spoolss.c
parentcb8dcb0b60d0bdd13ef20cad9784d783c62775dd (diff)
downloadsamba-8587400d28ae53d25bd10d9dcac60713092720d1.tar.gz
samba-8587400d28ae53d25bd10d9dcac60713092720d1.tar.bz2
samba-8587400d28ae53d25bd10d9dcac60713092720d1.zip
a null grp_sid should have a 0 offset. Also removed a few more unnecessary
prs_align() for sec_desc. (This used to be commit fc3770f281f6344a0589bfe614cd3e559b7259dd)
Diffstat (limited to 'source3/rpc_parse/parse_spoolss.c')
-rw-r--r--source3/rpc_parse/parse_spoolss.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index aa7fcd0010..841d303840 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -2367,13 +2367,6 @@ BOOL smb_io_printer_info_2(char *desc, NEW_BUFFER *buffer, PRINTER_INFO_2 *info,
if (!prs_uint32("averageppm", ps, depth, &info->averageppm))
return False;
-#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;
-
- if (!sec_io_desc("secdesc", &info->secdesc, ps, depth))
- return False;
-#endif
return True;
}