From: Daniel Stenberg Date: Wed, 27 Jun 2007 21:29:29 +0000 (+0000) Subject: fix little flaw that could make the transfer loop end prematurely X-Git-Tag: curl-7_16_4~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8edbe262d90ff0bb860becea58a39b7e6eaa2ebc;p=thirdparty%2Fcurl.git fix little flaw that could make the transfer loop end prematurely --- diff --git a/docs/examples/10-at-a-time.c b/docs/examples/10-at-a-time.c index 50392259cb..41c2f4883f 100644 --- a/docs/examples/10-at-a-time.c +++ b/docs/examples/10-at-a-time.c @@ -155,6 +155,8 @@ int main(void) } if (C < CNT) { init(cm, C++); + U++; /* just to prevent it from remaining at 0 if there are more + URLs to get */ } } }