From 5e334d76a102cd498e2fbdc6c4c7fe4c1e27070e Mon Sep 17 00:00:00 2001 From: doogie <> Date: Fri, 6 Oct 2000 04:34:29 -0800 Subject: [PATCH] [project @ 2000-10-06 05:34:29 by doogie] Request files thru http, instead of thru file:, in sendlynxdocraw. --- scripts/service.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/) { -- 2.39.5