mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3-registry: update to use new DLIST macros
(cherry picked from commit 3437713ad7e5bccafde30553a8232119fd2a9eb9)
This commit is contained in:
parent
f592d42047
commit
aa52a0925d
@ -1815,8 +1815,8 @@ static int hashrec_cmp( REGF_HASH_REC *h1, REGF_HASH_REC *h2 )
|
||||
if this is the first record, then just set the next and prev
|
||||
offsets to ourself. */
|
||||
|
||||
if ( nk->sec_desc->prev ) {
|
||||
REGF_SK_REC *prev = nk->sec_desc->prev;
|
||||
if ( DLIST_PREV(nk->sec_desc) ) {
|
||||
REGF_SK_REC *prev = DLIST_PREV(nk->sec_desc);
|
||||
|
||||
nk->sec_desc->prev_sk_off = prev->hbin_off + prev->hbin->first_hbin_off - HBIN_HDR_SIZE;
|
||||
prev->next_sk_off = nk->sec_desc->sk_off;
|
||||
|
Loading…
x
Reference in New Issue
Block a user