git.samba.org
/
amitay
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed6279
)
s3:spoolss: Remove dead code
author
Andreas Schneider
<asn@samba.org>
Wed, 2 Aug 2023 08:35:27 +0000
(10:35 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 3 Aug 2023 14:31:34 +0000
(14:31 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
source3/rpc_server/spoolss/srv_spoolss_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/spoolss/srv_spoolss_nt.c
b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index 883eebc64749c2e4adcaccc43b961a2f3d499217..5a35b6a0e329e60ea005314e5a2b8746e2020c55 100644
(file)
--- a/
source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/
source3/rpc_server/spoolss/srv_spoolss_nt.c
@@
-10436,18
+10436,6
@@
WERROR _spoolss_EnumPrinterDataEx(struct pipes_struct *p,
goto done;
}
-#if 0 /* FIXME - gd */
- /* housekeeping information in the reply */
-
- /* Fix from Martin Zielinski <mz@seh.de> - ensure
- * the hand marshalled container size is a multiple
- * of 4 bytes for RPC alignment.
- */
-
- if (needed % 4) {
- needed += 4-(needed % 4);
- }
-#endif
*r->out.count = count;
*r->out.info = info;