From cfd09eed406704e51f40010dc0de664809def4cc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 25 Oct 2007 11:26:02 +0200 Subject: r25731: Document winreg_NotifyChangeKeyValue's notify flags. Guenther (This used to be commit 4468b1cc49bd4a92c08aeb76419abfe00791b2c2) --- source4/torture/rpc/winreg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 4b00c03260..4c765f72a2 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -78,7 +78,7 @@ static bool test_NotifyChangeKeyValue(struct dcerpc_pipe *p, struct winreg_NotifyChangeKeyValue r; r.in.handle = handle; - r.in.watch_subtree = 1; + r.in.watch_subtree = true; r.in.notify_filter = 0; r.in.unknown = r.in.unknown2 = 0; init_winreg_String(&r.in.string1, NULL); @@ -90,7 +90,8 @@ static bool test_NotifyChangeKeyValue(struct dcerpc_pipe *p, if (!W_ERROR_IS_OK(r.out.result)) { torture_comment(tctx, - "NotifyChangeKeyValue failed - %s - not considering\n", win_errstr(r.out.result)); + "NotifyChangeKeyValue failed - %s - not considering\n", + win_errstr(r.out.result)); return true; } -- cgit