summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2017-03-15 13:42:03 +0100
committerJakub Hrozek <jhrozek@redhat.com>2017-03-27 09:53:00 +0200
commit24889dc5e7eb7bc992ab0fa05edfdfa1d157131a (patch)
treef4fb0515868942bb29399b8ba744afd74899504d
parent3a4a88259ba90d3dc45c1adbbfd39bd7c0204a12 (diff)
downloadsssd-24889dc5e7eb7bc992ab0fa05edfdfa1d157131a.tar.gz
sssd-24889dc5e7eb7bc992ab0fa05edfdfa1d157131a.tar.xz
sssd-24889dc5e7eb7bc992ab0fa05edfdfa1d157131a.zip
UTIL: Fix a typo in the tcurl test tool
Reviewed-by: Michal Židek <mzidek@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--src/tests/tcurl_test_tool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/tcurl_test_tool.c b/src/tests/tcurl_test_tool.c
index 35ea97978..38cea4328 100644
--- a/src/tests/tcurl_test_tool.c
+++ b/src/tests/tcurl_test_tool.c
@@ -204,8 +204,8 @@ int main(int argc, const char *argv[])
urls[i],
headers,
inbufs[i],
- 10);
- if (ctx == NULL) {
+ 5);
+ if (req == NULL) {
DEBUG(SSSDBG_FATAL_FAILURE, "Could not create request\n");
talloc_zfree(tool_ctx);
return 1;