summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-18 16:10:11 +0100
committerKarolin Seeger <kseeger@samba.org>2009-04-15 09:07:18 +0200
commit09d2bcd3c318f88b158d0c49ee83ac684a7a722d (patch)
treed7ab2918bbaee34ac10d80b5ed5807c8dc1846ae /source4
parente6ad947aa4cdf171b30da867316415f94822cc5b (diff)
downloadsamba-09d2bcd3c318f88b158d0c49ee83ac684a7a722d.tar.gz
s4-smbtorture: fix spoolss notify test after spoolss_Field changes.
Guenther (cherry picked from commit 9744a7058c1f4805c9ca12080fd8ccffe3a038b8) (cherry picked from commit d63021ec7bc1b0dcfa500c258116bca268f71079)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/spoolss_notify.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c
index cb875c9eee7..b7f2d3c4101 100644
--- a/source4/torture/rpc/spoolss_notify.c
+++ b/source4/torture/rpc/spoolss_notify.c
@@ -254,13 +254,13 @@ static bool test_RFFPCNEx(struct torture_context *tctx,
t1.types = talloc_zero_array(tctx, struct spoolss_NotifyOptionType, 2);
t1.types[0].type = PRINTER_NOTIFY_TYPE;
t1.types[0].count = 1;
- t1.types[0].fields = talloc_array(t1.types, enum spoolss_Field, 1);
- t1.types[0].fields[0] = SPOOLSS_FIELD_SERVER_NAME;
+ t1.types[0].fields = talloc_array(t1.types, union spoolss_Field, 1);
+ t1.types[0].fields[0].field = PRINTER_NOTIFY_FIELD_SERVER_NAME;
t1.types[1].type = JOB_NOTIFY_TYPE;
t1.types[1].count = 1;
- t1.types[1].fields = talloc_array(t1.types, enum spoolss_Field, 1);
- t1.types[1].fields[0] = SPOOLSS_FIELD_PRINTER_NAME;
+ t1.types[1].fields = talloc_array(t1.types, union spoolss_Field, 1);
+ t1.types[1].fields[0].field = PRINTER_NOTIFY_FIELD_PRINTER_NAME;
r.in.notify_options = &t1;
r.in.handle = &handle;