diff options
author | Wayne Davison <wayned@samba.org> | 2006-10-17 18:49:04 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-10-17 18:49:04 +0000 |
commit | 7b4a40ed706b8923df4d145147810490f23b6164 (patch) | |
tree | 8f3b509578ad219a8e1d8db6c63df750f780ebf4 /hlink.c | |
parent | f210dcadf4a921f8ca3718c0b972cee153793488 (diff) | |
download | rsync-7b4a40ed706b8923df4d145147810490f23b6164.tar.gz rsync-7b4a40ed706b8923df4d145147810490f23b6164.tar.bz2 rsync-7b4a40ed706b8923df4d145147810490f23b6164.zip |
Make sure the new link_dest_used value gets zeroed on init.
Diffstat (limited to 'hlink.c')
-rw-r--r-- | hlink.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -83,6 +83,7 @@ static void link_idev_data(void) FPTR(cur)->F_HLINDEX = to; FPTR(cur)->F_NEXT = hlink_list[++from]; + FPTR(cur)->link_u.links->link_dest_used = 0; } pool_free(idev_pool, 0, FPTR(cur)->link_u.idev); if (from > start) { @@ -94,6 +95,7 @@ static void link_idev_data(void) FPTR(cur)->F_HLINDEX = to; FPTR(cur)->F_NEXT = head; FPTR(cur)->flags |= FLAG_HLINK_EOL; + FPTR(cur)->link_u.links->link_dest_used = 0; hlink_list[to++] = head; } else FPTR(cur)->link_u.links = NULL; |