git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7343eb9
)
r9656: fix bug in sk record list with next offsets
author
Gerald Carter
<jerry@samba.org>
Fri, 26 Aug 2005 17:40:42 +0000
(17:40 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:03:23 +0000
(11:03 -0500)
(This used to be commit
c588c2ee69fa72089e9c0aed6881a76f4e490d86
)
source3/registry/regfio.c
patch
|
blob
|
history
diff --git
a/source3/registry/regfio.c
b/source3/registry/regfio.c
index aebb1ebaed614f6e13a1ab6160331ba7871e04b9..c453130713c9d6de99895aeda6639f4983a80147 100644
(file)
--- a/
source3/registry/regfio.c
+++ b/
source3/registry/regfio.c
@@
-1779,11
+1779,11
@@
static int hashrec_cmp( REGF_HASH_REC *h1, REGF_HASH_REC *h2 )
REGF_SK_REC *prev = nk->sec_desc->prev;
nk->sec_desc->prev_sk_off = prev->hbin_off + prev->hbin->first_hbin_off - HBIN_HDR_SIZE;
- prev->next_sk_off = nk->sk_off;
+ prev->next_sk_off = nk->s
ec_desc->s
k_off;
}
}
- /*
dump the reference count
*/
+ /*
bump the reference count +1
*/
nk->sk_off = nk->sec_desc->sk_off;
nk->sec_desc->ref_count++;