summaryrefslogtreecommitdiffstats
path: root/src/tests/crypto-tests.c
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-06-04 13:21:29 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-06-04 14:16:28 -0400
commit66c238caf7a35701ea7b8bc8a3c15424c9867e9f (patch)
treeb086d6f19926f7dc86bc911c6c9776052bc412ab /src/tests/crypto-tests.c
parentb9698ee9e8365f16aebd780087d1ef4830ea9f39 (diff)
downloadsssd-66c238caf7a35701ea7b8bc8a3c15424c9867e9f.tar.gz
sssd-66c238caf7a35701ea7b8bc8a3c15424c9867e9f.tar.xz
sssd-66c238caf7a35701ea7b8bc8a3c15424c9867e9f.zip
Fixed setting of debug level in test suite
Diffstat (limited to 'src/tests/crypto-tests.c')
-rw-r--r--src/tests/crypto-tests.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/crypto-tests.c b/src/tests/crypto-tests.c
index 2e792bbd6..045f42627 100644
--- a/src/tests/crypto-tests.c
+++ b/src/tests/crypto-tests.c
@@ -150,11 +150,10 @@ int main(int argc, const char *argv[])
int opt;
poptContext pc;
int number_failed;
- int debug = 0;
struct poptOption long_options[] = {
POPT_AUTOHELP
- { "debug-level", 'd', POPT_ARG_INT, &debug, 0, "Set debug level", NULL },
+ { "debug-level", 'd', POPT_ARG_INT, &debug_level, 0, "Set debug level", NULL },
POPT_TABLEEND
};