summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-07-19 06:41:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:41 -0500
commit937e2a57ac49b14e871f3767bb9cf886a6263a6d (patch)
treef2a7104936f7fd04c1b2fb09247e8965a54059ec /source4/torture/rpc
parentb56fbe6d143d01d52e4029b45693d0b9ab7781c9 (diff)
downloadsamba-937e2a57ac49b14e871f3767bb9cf886a6263a6d.tar.gz
samba-937e2a57ac49b14e871f3767bb9cf886a6263a6d.tar.bz2
samba-937e2a57ac49b14e871f3767bb9cf886a6263a6d.zip
r1544: add some comments and fix 'return True' -> 'return ret'
metze (This used to be commit a9a22d1e0db32c7715809efc4bb08ea5a5a9a69b)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/srvsvc.c21
1 files changed, 16 insertions, 5 deletions
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;
}
/**************************/