aboutsummaryrefslogtreecommitdiff
path: root/news/cnews/files/patch-batcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'news/cnews/files/patch-batcher.c')
-rw-r--r--news/cnews/files/patch-batcher.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/news/cnews/files/patch-batcher.c b/news/cnews/files/patch-batcher.c
index 71479640d328..4ddb6c68ab5d 100644
--- a/news/cnews/files/patch-batcher.c
+++ b/news/cnews/files/patch-batcher.c
@@ -1,5 +1,5 @@
--- batch/batcher.c.orig 1994-11-28 02:14:35.000000000 +0100
-+++ batch/batcher.c 2011-05-12 14:53:06.000000000 +0200
++++ batch/batcher.c 2014-02-07 16:48:39.000000000 +0100
@@ -12,6 +12,7 @@
*/
@@ -8,3 +8,18 @@
#include <string.h>
#include <signal.h>
#include <sys/types.h>
+@@ -116,7 +117,7 @@
+ */
+ if (debug)
+ warning("can't find `%s'", article);
+- return;
++ return 0;
+ }
+
+ if (fstat(artfile, &sbuf) < 0)
+@@ -143,4 +144,5 @@
+ }
+
+ (void) close(artfile);
++ return 0;
+ }