From: doogie <> Date: Fri, 6 Oct 2000 12:34:29 +0000 (-0800) Subject: [project @ 2000-10-06 05:34:29 by doogie] X-Git-Tag: release/2.6.0~1249 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5e334d76a102cd498e2fbdc6c4c7fe4c1e27070e;p=debbugs.git [project @ 2000-10-06 05:34:29 by doogie] Request files thru http, instead of thru file:, in sendlynxdocraw. --- diff --git a/scripts/service.in b/scripts/service.in index 0ae6fa7f..e3c3b642 100755 --- a/scripts/service.in +++ b/scripts/service.in @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# $Id: service.in,v 1.14 2000/10/05 21:02:36 joy Exp $ +# $Id: service.in,v 1.15 2000/10/06 05:34:29 doogie Exp $ # # Usage: service .nn # Temps: incoming/P.nn @@ -758,7 +758,7 @@ END sub sendlynxdocraw { local ($relpath,$description) = @_; $doc=''; - open(L,"lynx -nolist -dump $wwwbase/$relpath 2>&1 |") || &quit("fork for lynx: $!"); + open(L,"lynx -nolist -dump http://$gWebDomain/$relpath 2>&1 |") || &quit("fork for lynx: $!"); while() { $doc.=$_; } $!=0; close(L); if ($? == 255 && $doc =~ m/^\n*lynx: Can\'t access start file/) {