net: Use share_mode_count_entries()
commit3e5f1be8eace95cffa9d7e4cfd55eedca9ce2ceb
authorVolker Lendecke <vl@samba.org>
Fri, 29 Nov 2019 14:46:20 +0000 (29 15:46 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 17 Dec 2019 22:40:32 +0000 (17 22:40 +0000)
tree0cbed90b1129a1edd0901e0fbb8d8725ce9ad597
parent28d9c418605356db65e90b1386d890308f3ab41f
net: Use share_mode_count_entries()

Avoid a reference to share_mode_data->num_share_modes

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/utils/net_tdb.c