summaryrefslogtreecommitdiff
path: root/src/responder/common
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-02-19 14:25:27 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-02-21 11:02:40 +0100
commit3a5dcd3c50b456c4d85281ec7a0972201e2f9426 (patch)
tree84502d57fd0fd9c4d8f9af0bd3e69dc52c939d3d /src/responder/common
parent12ee35f8275f94e080b6a990e7a4f87882282453 (diff)
downloadsssd-3a5dcd3c50b456c4d85281ec7a0972201e2f9426.tar.gz
sssd-3a5dcd3c50b456c4d85281ec7a0972201e2f9426.tar.bz2
sssd-3a5dcd3c50b456c4d85281ec7a0972201e2f9426.zip
Fix uninitialized time_t var in responder
https://fedorahosted.org/sssd/ticket/1810
Diffstat (limited to 'src/responder/common')
-rw-r--r--src/responder/common/responder_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c
index c7aead3e..3bb7b602 100644
--- a/src/responder/common/responder_common.c
+++ b/src/responder/common/responder_common.c
@@ -889,7 +889,7 @@ responder_get_domain(TALLOC_CTX *sd_mem_ctx, struct resp_ctx *rctx,
const char *name)
{
time_t now = time(NULL);
- time_t time_diff;
+ time_t time_diff = 0;
struct sss_domain_info *dom;
struct sss_domain_info *ret_dom = NULL;