diff options
author | Günther Deschner <gd@samba.org> | 2009-03-17 18:03:36 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-03-17 19:07:37 +0100 |
commit | fac7208273a24fa35d3274df28aea3bb87374861 (patch) | |
tree | 10a894188646628d4ece7cd4169bb81469f7c09e | |
parent | 7f90a89d609c48b7fe33e29c98ca903896083889 (diff) | |
download | samba-fac7208273a24fa35d3274df28aea3bb87374861.tar.gz samba-fac7208273a24fa35d3274df28aea3bb87374861.tar.bz2 samba-fac7208273a24fa35d3274df28aea3bb87374861.zip |
s4-smbtorture: fix spoolss notify test for notify type changes.
Guenther
-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 048f255ffc..cb875c9eee 100644 --- a/source4/torture/rpc/spoolss_notify.c +++ b/source4/torture/rpc/spoolss_notify.c @@ -252,12 +252,12 @@ static bool test_RFFPCNEx(struct torture_context *tctx, t1.flags = 0; t1.count = 2; t1.types = talloc_zero_array(tctx, struct spoolss_NotifyOptionType, 2); - t1.types[0].type = SPOOLSS_NOTIFY_PRINTER; + 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[1].type = SPOOLSS_NOTIFY_JOB; + 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; |