[patch] remove redundant check in cache.c
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <20130105135503.GA21444@darkstar> |
_______________________________________________ Dillo-dev mailing list [email protected] http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
cache-redundant-check.patch
(text/plain, 424 B)
# 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;