mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r3396: Rename form_name -> formname. This time, check smbtorture builds before
committing. (-:
This commit is contained in:
parent
2cf35cb4d2
commit
c776232d01
@ -487,7 +487,7 @@
|
||||
/* Function: 0x21 */
|
||||
WERROR spoolss_SetForm(
|
||||
[in,ref] policy_handle *handle,
|
||||
[in] unistr form_name,
|
||||
[in] unistr formname,
|
||||
[in] uint32 level,
|
||||
[in,switch_is(level)] spoolss_AddFormInfo info
|
||||
);
|
||||
|
@ -163,7 +163,10 @@ def test_AddForm(pipe, handle):
|
||||
(r['info']['info1'], f)
|
||||
sys.exit(1)
|
||||
|
||||
# TODO: test spoolss_SetForm()
|
||||
r['formname'] = formname
|
||||
r['info']['info1']['unknown'] = 1
|
||||
|
||||
dcerpc.spoolss_SetForm(pipe, r)
|
||||
|
||||
test_DeleteForm(pipe, handle, formname)
|
||||
|
||||
|
@ -248,7 +248,7 @@ static BOOL test_AddForm(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_SetForm sf;
|
||||
|
||||
sf.in.handle = handle;
|
||||
sf.in.form_name = formname;
|
||||
sf.in.formname = formname;
|
||||
sf.in.level = 1;
|
||||
sf.in.info.info1 = &form;
|
||||
form.width = 1234;
|
||||
|
Loading…
Reference in New Issue
Block a user