s3/rpc_server/spoolss: remove SETUP_SPOOLSS_NOTIFY_DATA_SECDESC
commit21b03f4e6223f9823cc667b352ba325d721e30d7
authorDavid Disseldorp <ddiss@samba.org>
Mon, 26 May 2014 13:20:13 +0000 (26 15:20 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 28 May 2014 15:52:13 +0000 (28 17:52 +0200)
treeb23bda5f3c5b28e1283830e1dd58bda221af9156
parentf6e5af03d446f3979ce706cd950571d83cf9284b
s3/rpc_server/spoolss: remove SETUP_SPOOLSS_NOTIFY_DATA_SECDESC

The macro is only used once, and is broken in two ways:
- it relies on an externally defined mem_ctx
- _data->data.sd.sd_size is set zero twice for a NULL sd

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/rpc_server/spoolss/srv_spoolss_nt.c