summaryrefslogtreecommitdiffstats
path: root/src/tests/refcount-tests.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-09-02 16:45:35 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-09-05 16:24:03 +0200
commit7ec88ea204c0d1db40a93502c70c7bc0491ec262 (patch)
tree6479349c5cb72ff68d4add9ebed2645dbb9c08fa /src/tests/refcount-tests.c
parent3ac7c4fe618ede980a4df8d90341ef1fd0f1f62f (diff)
downloadsssd-7ec88ea204c0d1db40a93502c70c7bc0491ec262.tar.gz
sssd-7ec88ea204c0d1db40a93502c70c7bc0491ec262.tar.xz
sssd-7ec88ea204c0d1db40a93502c70c7bc0491ec262.zip
LDAP: Don't reuse a single tevent callback for multiple requests
Several requests (deref, ASQ and SD) were using the same tevent callback. This worked fine for quite some time, because the callback only used the tevent_req variables. However, a recent patch changed the shared sdap_get_generic_done so that it also longer uses the 'state' variable. At that point, all requsts that re-used the sdap_get_generic_done request started failing becaus the type of the state variable was different. This patch makes sure the callbacks only manipulate their own data types. Moreover, sdap_get_generic_ext_done() was renamed because it's not really a tevent callback. Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/tests/refcount-tests.c')
0 files changed, 0 insertions, 0 deletions