Discussion:
[patch] remove redundant check in cache.c
p***@public.gmane.org
2013-01-05 13:55:03 UTC
Permalink
Jorge Arellano Cid
2013-01-05 15:34:46 UTC
Permalink
# 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.-
Continue reading on narkive:
Loading...