[Xfce4-commits] <midori:master> Initialize hosts for prefetching with an empty string

Christian Dywan noreply at xfce.org
Mon Oct 12 23:08:03 CEST 2009


Updating branch refs/heads/master
         to ad04c92e30291c4dda952169ec47fccf0d1ba452 (commit)
       from 9702fbf5e4e532e408b0833692c313617e568b68 (commit)

commit ad04c92e30291c4dda952169ec47fccf0d1ba452
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Mon Oct 12 19:35:11 2009 +0200

    Initialize hosts for prefetching with an empty string

 extensions/dnsprefetch.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/extensions/dnsprefetch.c b/extensions/dnsprefetch.c
index 326050c..4a00be3 100644
--- a/extensions/dnsprefetch.c
+++ b/extensions/dnsprefetch.c
@@ -124,6 +124,7 @@ dnsprefetch_activate_cb (MidoriExtension* extension,
     MidoriBrowser* browser;
     guint i;
 
+    katze_assign (hosts, g_strdup (""));
     host_count = 0;
 
     browsers = katze_object_get_object (app, "browsers");



More information about the Xfce4-commits mailing list