summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-12-14 11:31:16 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-12-14 17:13:30 -0500
commit7114284611b58c04182d5155d60d4e92d0b216fa (patch)
treeb32b6b43b88bea6275f046c7496252358d429755
parent42165bd9ada160e68ab0dbdeb21ed397486aa830 (diff)
downloadsssd-7114284611b58c04182d5155d60d4e92d0b216fa.tar.gz
sssd-7114284611b58c04182d5155d60d4e92d0b216fa.tar.bz2
sssd-7114284611b58c04182d5155d60d4e92d0b216fa.zip
Fix uninitialized value error in setup_test in fail_over-tests.c
https://fedorahosted.org/sssd/ticket/728
-rw-r--r--src/tests/fail_over-tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/fail_over-tests.c b/src/tests/fail_over-tests.c
index 1864a09b..a96549dc 100644
--- a/src/tests/fail_over-tests.c
+++ b/src/tests/fail_over-tests.c
@@ -78,6 +78,7 @@ setup_test(void)
fail("Could not init resolv context");
}
+ memset(&fopts, 0, sizeof(fopts));
fopts.retry_timeout = 30;
fopts.family_order = IPV4_FIRST;