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.

49 lines
1.8 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/tsa/slrn/slrn-0.9.8.1-fetch.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- slrn-0.9.8.1/src/slrnpull.c 2004-02-28 23:08:17.000000000 +0100
  20. +++ slrn/src/slrnpull.c 2004-10-10 01:42:31.000000000 +0200
  21. @@ -1647,7 +1647,7 @@
  22. || (((unsigned int)server_max <= gmax) && (gmin <= gmax)))
  23. {
  24. log_message (_("%s: no new articles available."), g->name);
  25. - return 0;
  26. + goto fetch_marked_bodies;
  27. }
  28. Num_Duplicates = 0;
  29. @@ -1667,7 +1667,7 @@
  30. g->max = g->server_max;
  31. log_message (_("%s: No new articles available."), g->name);
  32. slrn_free ((char *) numbers);
  33. - return 0;
  34. + goto fetch_marked_bodies;
  35. }
  36. log_message (_("%s: %u articles available."), g->name, num_numbers - i);
  37. @@ -1716,7 +1716,8 @@
  38. }
  39. /* Now, fetch marked article bodies. */
  40. -
  41. +
  42. + fetch_marked_bodies:
  43. /* Don't request bodies that are no longer there. */
  44. if (server_min > 1)
  45. g->requests = slrn_ranges_remove (g->requests, 1, server_min-1);