From 8be007dbb0c10a0755a87639eccabd7f5cdd05b3 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 20 Sep 2010 11:24:36 +0200 Subject: s3:services_db: remove bogus comments (from copy and paste probably...) --- source3/services/services_db.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source3/services/services_db.c b/source3/services/services_db.c index 4afbf61581..2807e7e05c 100644 --- a/source3/services/services_db.c +++ b/source3/services/services_db.c @@ -576,8 +576,6 @@ bool svcctl_set_secdesc(const char *name, struct security_descriptor *sec_desc, bool ret = false; TALLOC_CTX *mem_ctx = talloc_stackframe(); - /* now add the security descriptor */ - path = talloc_asprintf(mem_ctx, "%s\\%s\\%s", KEY_SERVICES, name, "Security"); if (path == NULL) { @@ -592,8 +590,6 @@ bool svcctl_set_secdesc(const char *name, struct security_descriptor *sec_desc, goto done; } - /* stream the printer security descriptor */ - status = marshall_sec_desc(mem_ctx, sec_desc, &value.data.data, &value.data.length); if (!NT_STATUS_IS_OK(status)) { -- cgit