diff options
author | Günther Deschner <gd@samba.org> | 2013-01-16 00:04:41 +0100 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2013-01-17 17:11:37 +0100 |
commit | e8feca012e7b2ff29de58cef80c7511f33989a84 (patch) | |
tree | 7c61dc531c45c4325351a65a447aa3b1c0d37945 /source4/torture/rpc/spoolss_notify.c | |
parent | e1d50a6b24012b42f9987b439a4b94cd8db79999 (diff) | |
download | samba-e8feca012e7b2ff29de58cef80c7511f33989a84.tar.gz |
spoolss: make spoolss deal with ndr64 ULONG_PTR of devmode_ptr and secdesc_ptr.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source4/torture/rpc/spoolss_notify.c')
-rw-r--r-- | source4/torture/rpc/spoolss_notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c index ea05d9bd1c3..0bf987d1d96 100644 --- a/source4/torture/rpc/spoolss_notify.c +++ b/source4/torture/rpc/spoolss_notify.c @@ -389,12 +389,12 @@ static bool test_SetPrinter(struct torture_context *tctx, info2.drivername = info.info2.drivername; info2.comment = talloc_asprintf(tctx, "torture_comment %d\n", (int)time(NULL)); info2.location = info.info2.location; - info2.devmode_ptr = 0; + info2.devmode_ptr = NULL; info2.sepfile = info.info2.sepfile; info2.printprocessor = info.info2.printprocessor; info2.datatype = info.info2.datatype; info2.parameters = info.info2.parameters; - info2.secdesc_ptr = 0; + info2.secdesc_ptr = NULL; info2.attributes = info.info2.attributes; info2.priority = info.info2.priority; info2.defaultpriority = info.info2.defaultpriority; |