Fixed obvious typo.
authorJeremy Allison <jra@samba.org>
Wed, 28 Nov 2007 07:00:11 +0000 (23:00 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 28 Nov 2007 07:00:11 +0000 (23:00 -0800)
Jeremy.
(This used to be commit 9755c5311416f17bac0a848d027cafb3fd487618)

source3/rpc_server/srv_winreg_nt.c

index 631386c078f3fea4d861652b64f91ede38813120..873224085c1d9ada8babdb0131e87f0598f04fe5 100644 (file)
@@ -790,7 +790,7 @@ WERROR _winreg_RestoreKey(pipes_struct *p, struct winreg_RestoreKey *r)
        if ( !r->in.filename || !r->in.filename->name )
                return WERR_INVALID_PARAM;
 
-       fname - talloc_strdup(p->mem_ctx, r->in.filename->name);
+       fname = talloc_strdup(p->mem_ctx, r->in.filename->name);
        if (!fname) {
                return WERR_NOMEM;
        }