From f5b3e0b146e204905ed16747755040efd620b878 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 9 Jul 2014 16:03:37 +0200
Subject: [PATCH 2/3] libtest1513: Use CURLOPT_XFERINFOFUNCTION instead of
 CURLOPT_PROGRESSFUNCTION

Apparently it doesn't make the test more reliable, but
CURLOPT_PROGRESSFUNCTION is deprecated.
---
 tests/libtest/lib1513.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/libtest/lib1513.c b/tests/libtest/lib1513.c
index 83b9b75..80743e8 100644
--- a/tests/libtest/lib1513.c
+++ b/tests/libtest/lib1513.c
@@ -60,7 +60,7 @@ int test(char *URL)
   easy_setopt(curl, CURLOPT_URL, URL);
   easy_setopt(curl, CURLOPT_TIMEOUT, (long)7);
   easy_setopt(curl, CURLOPT_NOSIGNAL, (long)1);
-  easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, progressKiller);
+  easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, progressKiller);
   easy_setopt(curl, CURLOPT_PROGRESSDATA, NULL);
   easy_setopt(curl, CURLOPT_NOPROGRESS, (long)0);
 
-- 
1.9.0


