git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deebc93
)
Do not include the closing doublequote in .reg files.
author
Wilco Baan Hofman
<wilco@baanhofman.nl>
Mon, 30 Aug 2010 10:21:29 +0000
(12:21 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 3 Oct 2010 13:31:37 +0000
(15:31 +0200)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/lib/registry/patchfile_dotreg.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/patchfile_dotreg.c
b/source4/lib/registry/patchfile_dotreg.c
index e0b04da90805b252cc87c0afd1478e3fae3dcc35..3613dcd915fada8f16ca43a21e342e9d587f07ef 100644
(file)
--- a/
source4/lib/registry/patchfile_dotreg.c
+++ b/
source4/lib/registry/patchfile_dotreg.c
@@
-291,7
+291,7
@@
_PUBLIC_ WERROR reg_dotreg_diff_load(int fd,
/* Do not look for colons in strings */
if (p[0] == '"') {
q = NULL;
- data_str = talloc_str
dup(mem_ctx, p
);
+ data_str = talloc_str
ndup(mem_ctx, p+1,strlen(p)-2
);
} else {
/* Split the value type from the data */
q = strchr_m(p, ':');