1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

s4-smbtorture: fix spoolss notify test after spoolss_Field changes.

Guenther
This commit is contained in:
Günther Deschner 2009-03-18 16:10:11 +01:00
parent 65151077b3
commit 9744a7058c

View File

@ -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;