diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-03-09 14:15:47 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-09 08:24:52 -0500 |
commit | 69aa2d8a19ef26f375c9e94651597bbcff0fc095 (patch) | |
tree | de19ea18f8784190f517e70d66c9f0f2cbf883fc | |
parent | ea155efa0408f84171d28c1f733ea08888dfbe51 (diff) | |
download | sssd-69aa2d8a19ef26f375c9e94651597bbcff0fc095.tar.gz sssd-69aa2d8a19ef26f375c9e94651597bbcff0fc095.tar.bz2 sssd-69aa2d8a19ef26f375c9e94651597bbcff0fc095.zip |
Missing debug message if sdap_sudo_refresh_set_timer fails
https://fedorahosted.org/sssd/ticket/1238
-rw-r--r-- | src/providers/ldap/sdap_sudo_timer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_sudo_timer.c b/src/providers/ldap/sdap_sudo_timer.c index 81b6ae88..9996aae8 100644 --- a/src/providers/ldap/sdap_sudo_timer.c +++ b/src/providers/ldap/sdap_sudo_timer.c @@ -218,6 +218,7 @@ static void sdap_sudo_refresh_timeout(struct tevent_context *ev, struct tevent_req *req = talloc_get_type(pvt, struct tevent_req); struct sdap_sudo_refresh_ctx *refresh_ctx = NULL; int delay; + int ret; refresh_ctx = tevent_req_callback_data(req, struct sdap_sudo_refresh_ctx); @@ -226,7 +227,10 @@ static void sdap_sudo_refresh_timeout(struct tevent_context *ev, " Timeout too small? (%ds)!\n", delay)); tv = tevent_timeval_current_ofs(delay, 0); - sdap_sudo_refresh_set_timer(refresh_ctx, tv); + ret = sdap_sudo_refresh_set_timer(refresh_ctx, tv); + if (ret != EOK) { + DEBUG(SSSDBG_CRIT_FAILURE, ("Error setting up SUDO refresh timer\n")); + } talloc_zfree(req); } |