summaryrefslogtreecommitdiff
path: root/network/leafnode/patches/texpire_delete.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/leafnode/patches/texpire_delete.diff')
-rw-r--r--network/leafnode/patches/texpire_delete.diff21
1 files changed, 0 insertions, 21 deletions
diff --git a/network/leafnode/patches/texpire_delete.diff b/network/leafnode/patches/texpire_delete.diff
deleted file mode 100644
index 9347a39e43..0000000000
--- a/network/leafnode/patches/texpire_delete.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-# commit f8c3b831ea2af3de9036c3dbebcff27fbfcfeec4
-# Author: Matthias Andree <matthias.andree@gmx.de>
-# Date: Fri May 27 01:22:44 2011 +0200
-#
-# Bugfix: don't delete articles when texpire -n -C MessID is run.
-#
-# Found by Paul Brooks.
-
---- a/texpire.c
-+++ b/texpire.c
-@@ -1123,7 +1123,9 @@ main(int argc, char **argv)
- while(optind < argc) {
- if (verbose)
- printf("Trying to remove %s...\n", argv[optind]);
-- delete_article(argv[optind], "Remove", "Removed", 1);
-+ if (!dryrun) {
-+ delete_article(argv[optind], "Remove", "Removed", 1);
-+ }
- optind++;
- }
- break;