From 937e2a57ac49b14e871f3767bb9cf886a6263a6d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 19 Jul 2004 06:41:34 +0000 Subject: r1544: add some comments and fix 'return True' -> 'return ret' metze (This used to be commit a9a22d1e0db32c7715809efc4bb08ea5a5a9a69b) --- source4/torture/rpc/srvsvc.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c index 91ceebdc28..8fa4f049b4 100644 --- a/source4/torture/rpc/srvsvc.c +++ b/source4/torture/rpc/srvsvc.c @@ -286,7 +286,9 @@ static BOOL test_NetCharDevQEnum(struct dcerpc_pipe *p, return ret; } - +/**************************/ +/* srvsvc_NetConn */ +/**************************/ static BOOL test_NetConnEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { @@ -321,9 +323,12 @@ static BOOL test_NetConnEnum(struct dcerpc_pipe *p, } } - return True; + return ret; } +/**************************/ +/* srvsvc_NetFile */ +/**************************/ static BOOL test_NetFileEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { @@ -359,9 +364,12 @@ static BOOL test_NetFileEnum(struct dcerpc_pipe *p, } } - return True; + return ret; } +/**************************/ +/* srvsvc_NetSess */ +/**************************/ static BOOL test_NetSessEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { @@ -397,7 +405,7 @@ static BOOL test_NetSessEnum(struct dcerpc_pipe *p, } } - return True; + return ret; } /**************************/ @@ -439,6 +447,9 @@ static BOOL test_NetShareGetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, return ret; } +/**************************/ +/* srvsvc_NetShare */ +/**************************/ static BOOL test_NetShareEnumAll(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { @@ -524,7 +535,7 @@ static BOOL test_NetShareEnum(struct dcerpc_pipe *p, } } - return True; + return ret; } /**************************/ -- cgit