summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-07-28 13:28:51 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-08-01 07:27:34 -0400
commitf76725bbf87de0ac109a1a5b9898fc67ed2afa59 (patch)
treeb41ba2a7cb9cdfa8827c366cd6c5bf361b876307
parent6ac34fdef0f5fa26b973a219e992f4f6472d8c9e (diff)
downloadsssd-f76725bbf87de0ac109a1a5b9898fc67ed2afa59.tar.gz
sssd-f76725bbf87de0ac109a1a5b9898fc67ed2afa59.tar.bz2
sssd-f76725bbf87de0ac109a1a5b9898fc67ed2afa59.zip
Remove incorrect private variable
This caused no ill effects, since it wasn't used in the callback. However, it is a layering violation (especially since req is freed in the callback)
-rw-r--r--src/providers/ipa/ipa_dyndns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_dyndns.c b/src/providers/ipa/ipa_dyndns.c
index 6034a5bb..b271e4f2 100644
--- a/src/providers/ipa/ipa_dyndns.c
+++ b/src/providers/ipa/ipa_dyndns.c
@@ -178,7 +178,7 @@ void ipa_dyndns_update(void *pvt)
DEBUG(1, ("Could not update DNS\n"));
return;
}
- tevent_req_set_callback(req, ipa_dyndns_update_done, req);
+ tevent_req_set_callback(req, ipa_dyndns_update_done, NULL);
}
static void ipa_dyndns_sdap_connect_done(struct tevent_req *subreq);