dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0017-UTIL-Fix-a-typo-in-the-tcurl-test-tool.patch

bb7cd1
From c402799ea8b24d2e382d0ad7a06ee92861852972 Mon Sep 17 00:00:00 2001
bb7cd1
From: Jakub Hrozek <jhrozek@redhat.com>
bb7cd1
Date: Wed, 15 Mar 2017 13:42:03 +0100
bb7cd1
Subject: [PATCH 17/36] UTIL: Fix a typo in the tcurl test tool
bb7cd1
MIME-Version: 1.0
bb7cd1
Content-Type: text/plain; charset=UTF-8
bb7cd1
Content-Transfer-Encoding: 8bit
bb7cd1
bb7cd1
Reviewed-by: Michal Židek <mzidek@redhat.com>
bb7cd1
Reviewed-by: Simo Sorce <simo@redhat.com>
bb7cd1
---
bb7cd1
 src/tests/tcurl_test_tool.c | 4 ++--
bb7cd1
 1 file changed, 2 insertions(+), 2 deletions(-)
bb7cd1
bb7cd1
diff --git a/src/tests/tcurl_test_tool.c b/src/tests/tcurl_test_tool.c
bb7cd1
index 35ea979780df47c92ed92bc5bba713faa8909b90..38cea432885c97ca3827c8f158bf7e3ebfc67b31 100644
bb7cd1
--- a/src/tests/tcurl_test_tool.c
bb7cd1
+++ b/src/tests/tcurl_test_tool.c
bb7cd1
@@ -204,8 +204,8 @@ int main(int argc, const char *argv[])
bb7cd1
                               urls[i],
bb7cd1
                               headers,
bb7cd1
                               inbufs[i],
bb7cd1
-                              10);
bb7cd1
-        if (ctx == NULL) {
bb7cd1
+                              5);
bb7cd1
+        if (req == NULL) {
bb7cd1
             DEBUG(SSSDBG_FATAL_FAILURE, "Could not create request\n");
bb7cd1
             talloc_zfree(tool_ctx);
bb7cd1
             return 1;
bb7cd1
-- 
bb7cd1
2.9.3
bb7cd1