diff options
author | Jeremy Allison <jra@samba.org> | 2011-08-19 21:40:54 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-08-19 21:40:54 -0700 |
commit | 6c3779c80bd2d657a88fb030e16dee10dca45f36 (patch) | |
tree | 584b307bc8af9716d38be511c280788611c73c74 /source3/lib/netapi/netapi.h | |
parent | ce8a1a29ad195add38908785e7a2f4ddec3235ba (diff) | |
download | samba-6c3779c80bd2d657a88fb030e16dee10dca45f36.tar.gz samba-6c3779c80bd2d657a88fb030e16dee10dca45f36.tar.bz2 samba-6c3779c80bd2d657a88fb030e16dee10dca45f36.zip |
Remove the tortured logic in another_ldap_try() and turn it into
get_cached_ldap_connect(), which much better describes it's function.
Now we always break at the right places in the loop, we can replace
the while (another_ldap_try(ldap_state, &rc, &attempts, abs_endtime))
construct with simply while (1).
Diffstat (limited to 'source3/lib/netapi/netapi.h')
0 files changed, 0 insertions, 0 deletions