diff options
author | Günther Deschner <gd@samba.org> | 2009-03-18 16:10:11 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-03-18 16:46:33 +0100 |
commit | 9744a7058c1f4805c9ca12080fd8ccffe3a038b8 (patch) | |
tree | 186d3c239749ff7d9c22ac6427d8d430347b4f60 /source4/torture/rpc | |
parent | 65151077b31e8cc4a8bfedd8fb4a186804d36b9a (diff) | |
download | samba-9744a7058c1f4805c9ca12080fd8ccffe3a038b8.tar.gz samba-9744a7058c1f4805c9ca12080fd8ccffe3a038b8.tar.bz2 samba-9744a7058c1f4805c9ca12080fd8ccffe3a038b8.zip |
s4-smbtorture: fix spoolss notify test after spoolss_Field changes.
Guenther
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/spoolss_notify.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c index cb875c9eee..b7f2d3c410 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; |