Re: [patch] remove redundant check in cache.c

Jorge Arellano Cid <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Sat, Jan 05, 2013 at 05:55:03PM +0400, [email protected] wrote:
> 

> # HG changeset patch
> # Parent 9195a2df5ca310cc907f3d5df3593acaed988820
> 
> diff -r 9195a2df5ca3 src/cache.c
> --- a/src/cache.c
> +++ b/src/cache.c
> @@ -233,7 +233,7 @@
>           break;
>        }
>        /* Test for a working redirection */
> -      if (entry && entry->Flags & CA_Redirect && entry->Location) {
> +      if (entry->Flags & CA_Redirect && entry->Location) {
>           Url = entry->Location;
>        } else
>           break;

  Committed.

-- 
  Cheers
  Jorge.-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.