mirror of https://github.com/moparisthebest/curl
test1513: make sure the callback is only called once
This commit is contained in:
parent
be0d4141af
commit
facf2925c7
|
@ -42,5 +42,8 @@ http://%HOSTIP:%HTTPPORT/1513
|
||||||
<errorcode>
|
<errorcode>
|
||||||
42
|
42
|
||||||
</errorcode>
|
</errorcode>
|
||||||
|
<stdout>
|
||||||
|
PROGRESSFUNCTION called
|
||||||
|
</stdout>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
|
@ -41,6 +41,7 @@ static int progressKiller(void *arg,
|
||||||
(void)dlnow;
|
(void)dlnow;
|
||||||
(void)ultotal;
|
(void)ultotal;
|
||||||
(void)ulnow;
|
(void)ulnow;
|
||||||
|
printf("PROGRESSFUNCTION called\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue