diff options
author | Gerald Carter <jerry@samba.org> | 2002-08-19 01:56:15 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-08-19 01:56:15 +0000 |
commit | 0231bb451d16ac8cc2734969542eb46d1b9028c3 (patch) | |
tree | 2a791326bba203d5998caa2fae6f3d6baa7ad082 /source3/rpc_server | |
parent | 222806dbcdeb4d5d7d954965e8a914664d2671d1 (diff) | |
download | samba-0231bb451d16ac8cc2734969542eb46d1b9028c3.tar.gz samba-0231bb451d16ac8cc2734969542eb46d1b9028c3.tar.bz2 samba-0231bb451d16ac8cc2734969542eb46d1b9028c3.zip |
change notify fix left out of merge by APP_HEAD by accident
(This used to be commit a413ff8b494e63b42fab213f12b44df6a5f0c34c)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 2cf73d7118..834ad7f61a 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -2432,8 +2432,9 @@ static void spoolss_notify_security_desc(int snum, NT_PRINTER_INFO_LEVEL *printer, TALLOC_CTX *mem_ctx) { - data->notify_data.data.length=0; data->notify_data.data.string = NULL; + data->notify_data.sd.size = printer->info_2->secdesc_buf->len; + data->notify_data.sd.desc = dup_sec_desc( mem_ctx, printer->info_2->secdesc_buf->sec ) ; } /******************************************************************* |