aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-06-27 21:29:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-06-27 21:29:29 +0000
commit8edbe262d90ff0bb860becea58a39b7e6eaa2ebc (patch)
tree5494bb0f3526dd302785334ff3094f09360d2466 /docs
parent4cd7f85410ae9590fa4dd274a9c77604b3b8d4fc (diff)
fix little flaw that could make the transfer loop end prematurely
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/10-at-a-time.c2
1 files changed, 2 insertions, 0 deletions
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 */
}
}
}