changeset 4627:1d6e27a3f314

Fix a flag in Cache_entry_inject(). Now the splash page is shown as finished.
author Jorge Arellano Cid <jcid@dillo.org>
date Mi, 06 Jul 2016 12:26:22 -0400
parents 44077e31f39c
children e5b39cfdeb0b
files src/cache.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cache.c	Mi Jul 06 14:06:52 2016 +0000
+++ b/src/cache.c	Mi Jul 06 12:26:22 2016 -0400
@@ -270,7 +270,7 @@
 
    if (!(entry = Cache_entry_search(Url)))
       entry = Cache_entry_add(Url);
-   entry->Flags |= CA_GotHeader + CA_GotLength + CA_InternalUrl;
+   entry->Flags = CA_GotHeader + CA_GotLength + CA_InternalUrl;
    if (data_ds->len)
       entry->Flags &= ~CA_IsEmpty;
    dStr_truncate(entry->Data, 0);