]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fix little flaw that could make the transfer loop end prematurely
authorDaniel Stenberg <daniel@haxx.se>
Wed, 27 Jun 2007 21:29:29 +0000 (21:29 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 27 Jun 2007 21:29:29 +0000 (21:29 +0000)
docs/examples/10-at-a-time.c

index 50392259cbe5b297cf75f3d570bcd1b0172c7df3..41c2f4883fb4310092e9a7467daa1ac136c2538b 100644 (file)
@@ -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 */
       }
     }
   }