Package: rtgui / 0.2.81-4

00_improve_connection_message.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#Description: Improve message on error connectiong to rtorrent
#Author: Dario Minnucci (midget) <midget@debian.org>
Index: rtgui-0.2.7/functions.php
===================================================================
--- rtgui-0.2.7.orig/functions.php	2010-01-10 16:30:15.459616861 +0100
+++ rtgui-0.2.7/functions.php	2010-01-10 16:30:16.567615506 +0100
@@ -31,7 +31,7 @@
       $file = utf8_encode($file); 
       return xmlrpc_decode($file);
    } else {
-      die ("<h1>Cannot connect to rtorrent :(</h1>");
+      die ("<h1>Cannot connect to rtorrent :(<br />Please, ensure that rtorrent is running.</h1>");
    }
 }