Make our atomic increment code actually do this during its first/second run.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 13 Apr 2002 03:23:08 +0000 (03:23 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 13 Apr 2002 03:23:08 +0000 (03:23 +0000)
commit2248a889099b3b9452b74eeaa7350d4e0ea82d6a
tree71b663672300ec26344ec527f959bf94759e5638
parent5c2dfd959c0facc299bca62356d1221bcea653bf
Make our atomic increment code actually do this during its first/second run.

The previous code would return the same value for both the initial and second
call, only incrementing on later calls.

Andrew Bartlett
(This used to be commit a4594d9efeca1f67dea57be8323fb4bd986318ce)
source3/tdb/tdbutil.c