From fd806c76ba620b924f7f7423241306b32fa46dbd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 16 Jul 2004 09:51:54 +0000 Subject: r1530: we don't need to call srvsvc_NetShareGetInfo twice in NetShareEnum and NetShareEnumAll metze (This used to be commit e5bf65b840cd7fbc97166c6313f5eb29de9d129f) --- source4/torture/rpc/srvsvc.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source4') diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c index 47002d3550..daa4e96386 100644 --- a/source4/torture/rpc/srvsvc.c +++ b/source4/torture/rpc/srvsvc.c @@ -509,8 +509,6 @@ static BOOL test_NetShareEnum(struct dcerpc_pipe *p, r.in.resume_handle = NULL; for (i=0;icount;j++) { - const char *name; - name = r.out.ctr.ctr1->array[j].name; - if (!test_NetShareGetInfo(p, mem_ctx, name)) { - ret = False; - } - } - } } return True; -- cgit