mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
920 B

  1. --- slrn-0.9.8.1/src/slrnpull.c 2004-02-28 23:08:17.000000000 +0100
  2. +++ slrn/src/slrnpull.c 2004-10-10 01:42:31.000000000 +0200
  3. @@ -1647,7 +1647,7 @@
  4. || (((unsigned int)server_max <= gmax) && (gmin <= gmax)))
  5. {
  6. log_message (_("%s: no new articles available."), g->name);
  7. - return 0;
  8. + goto fetch_marked_bodies;
  9. }
  10. Num_Duplicates = 0;
  11. @@ -1667,7 +1667,7 @@
  12. g->max = g->server_max;
  13. log_message (_("%s: No new articles available."), g->name);
  14. slrn_free ((char *) numbers);
  15. - return 0;
  16. + goto fetch_marked_bodies;
  17. }
  18. log_message (_("%s: %u articles available."), g->name, num_numbers - i);
  19. @@ -1716,7 +1716,8 @@
  20. }
  21. /* Now, fetch marked article bodies. */
  22. -
  23. +
  24. + fetch_marked_bodies:
  25. /* Don't request bodies that are no longer there. */
  26. if (server_min > 1)
  27. g->requests = slrn_ranges_remove (g->requests, 1, server_min-1);