From 24380c9940078e2eab4e73c859885a015bfcd93a Mon Sep 17 00:00:00 2001
From: "Barak A. Pearlmutter" <barak+git@pearlmutter.net>
Date: Thu, 3 Nov 2016 10:52:47 +0000
Subject: [PATCH] update any2djvu server hostname

Thanks to Dylan Thurston <dpt@bostoncoop.net> for the report,
see https://bugs.debian.org/843009

Also update example URL.
---
 tools/any2djvu   | 4 ++--
 tools/any2djvu.1 | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/any2djvu b/tools/any2djvu
index 1ad64c8..581766a 100755
--- a/tools/any2djvu
+++ b/tools/any2djvu
@@ -28,7 +28,7 @@ function disclaimer()
 # TO DO:
 #  - error handling
 
-rurl="http://any2djvu.djvuzone.org"
+rurl="http://any2djvu.djvu.org"
 rcgi="any2djvu.php"
 res=400
 ocr=1
@@ -83,7 +83,7 @@ function usage()
     echo "Examples:"
     echo "  cd ~bap/public_html/foo"
     echo " # uploads from web-accessible directory"
-    echo "  any2djvu http://www.bcl.hamilton.ie/~barak/papers mesh-preprint.ps.gz"
+    echo "  any2djvu http://barak.pearlmutter.net/papers mesh-preprint.ps.gz"
     echo "  any2djvu http://www.inference.phy.cam.ac.uk/mackay *.ps.gz bar.pdf"
     echo " # uploads from current directory"
     echo "  any2djvu b*.pdf"
diff --git a/tools/any2djvu.1 b/tools/any2djvu.1
index 5ab8422..ccfe03f 100644
--- a/tools/any2djvu.1
+++ b/tools/any2djvu.1
@@ -14,7 +14,7 @@ Invoke with \-h switch for usage information.
 Non-empty value of DJVU_ONLINE_ACK acknowledges transmission of the
 documents to the server (so that no warning dialog is displayed).
 .SH EXAMPLES
-any2djvu http://www.bcl.hamilton.ie/~barak/papers mesh-preprint.ps.gz
+any2djvu http://barak.pearlmutter.net/papers mesh-preprint.ps.gz
 .PP
 any2djvu localfile.pdf
 .SH AUTHORS
