lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev [PATCH][dev20] --disable-* nits


From: Leonid Pauzner
Subject: Re: lynx-dev [PATCH][dev20] --disable-* nits
Date: Sat, 20 Mar 1999 01:58:53 +0300 (MSK)

19-Mar-99 04:58 John Bley wrote:
> * --disable-news was also disabling ftp, --disable-finger without
>   --disable-gopher wasn't right (John Bley)


> --- lynx2-8-2/WWW/Library/Implementation/HTGopher.c   Thu Mar  4 05:39:45 1999
> +++ lynx2-8-2-patched/WWW/Library/Implementation/HTGopher.c   Fri Mar 19 
> 04:52:55 1999
> @@ -1720,8 +1720,12 @@ PRIVATE int HTLoadGopher ARGS4(
>      **       If it's a port 79/0[/...] URL, use the finger gateway. - FM
>      */
>      if (strstr(arg, ":79/0") != NULL) {
> +#ifndef DISABLE_FINGER
>       CTRACE(tfp, "HTGopher: Passing to finger gateway.\n");
>       return HTLoadFinger(arg, anAnchor, format_out, sink);
> +#else /* finger is disabled */
> +     HTAlert("Unable to access document!");
                ^^^^^^^^^^^^^^ HTAlert(gettext("Unable to access document!"));
> +#endif /* DISABLE_FINGER */
>      }

>      /*



reply via email to

[Prev in Thread] Current Thread [Next in Thread]