tags 382961 patch
user ubuntu-de...@lists.ubuntu.com
usertags 382961 ubuntu-patch lucid
thanks

Hi Henrique,

It appears a patch for this bug has been present in the Ubuntu package of
xpp for a couple of years, but no one has forwarded it upstream to Debian -
sorry about that!  Please find the fix below.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

=== modified file 'cupshelper.cxx'
--- cupshelper.cxx      2006-08-09 12:37:44 +0000
+++ cupshelper.cxx      2010-06-06 01:15:15 +0000
@@ -153,6 +153,7 @@
 
 void CupsHelper::setup(){
   if (strcmp(host_,"") == 0) strcpy(host_,cupsServer());
+  if (host_[0] == '/') strcpy(host_,"localhost");
   if (strcmp(login_,"") == 0) strcpy(login_,cupsUser());
   if (port_ < 0) port_ = ippPort();
   askForPassword();



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to