1
0
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:
Tim Potter 2004-10-30 23:35:34 +00:00 committed by Gerald (Jerry) Carter
parent 2cf35cb4d2
commit c776232d01
3 changed files with 6 additions and 3 deletions

View File

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

View File

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

View File

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