summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-27 23:00:11 -0800
committerJeremy Allison <jra@samba.org>2007-11-27 23:00:11 -0800
commit9c8bd95acffa79578d08fa1d4d5c06533ced315e (patch)
tree94aa55816b91a42bc826826362e873050f1bd85d
parent1cd1c9db3f3350dd4585d96457e918652557855c (diff)
downloadsamba-9c8bd95acffa79578d08fa1d4d5c06533ced315e.tar.gz
samba-9c8bd95acffa79578d08fa1d4d5c06533ced315e.tar.bz2
samba-9c8bd95acffa79578d08fa1d4d5c06533ced315e.zip
Fixed obvious typo.
Jeremy. (This used to be commit 9755c5311416f17bac0a848d027cafb3fd487618)
-rw-r--r--source3/rpc_server/srv_winreg_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c
index 631386c078..873224085c 100644
--- a/source3/rpc_server/srv_winreg_nt.c
+++ b/source3/rpc_server/srv_winreg_nt.c
@@ -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;
}