From 8edbe262d90ff0bb860becea58a39b7e6eaa2ebc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 27 Jun 2007 21:29:29 +0000 Subject: fix little flaw that could make the transfer loop end prematurely --- docs/examples/10-at-a-time.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/examples/10-at-a-time.c') diff --git a/docs/examples/10-at-a-time.c b/docs/examples/10-at-a-time.c index 50392259c..41c2f4883 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 */ } } } -- cgit v1.2.3