chiark / gitweb /
Better error messages from commod-update-receiver
[ypp-sc-tools.main.git] / yarrg / ocr.c
index 92b0903..e373fbc 100644 (file)
@@ -25,7 +25,6 @@
  *  sponsored by Three Rings.
  */
 
-#include "ocr.h"
 #include "convert.h"
 
 typedef struct {
@@ -279,7 +278,8 @@ static int should_reject(OcrReader *rd) {
   int ovector[30];
 
   if (!rejections_loaded) {
-    fetch_with_rsync("reject");
+    if (o_flags & ff_dict_fetch)
+      fetch_with_rsync("reject");
     load_rejections("master");
     load_rejections("local");
     rejections_loaded=1;