From ec7e1f71c41e5aaf4e36372b24b791432b348667 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 15 Aug 2013 19:55:12 +0100 Subject: Tidy some comments. --- desktop/hotlist.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'desktop/hotlist.c') diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 6ec1c6793..52c85bdea 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -356,10 +356,7 @@ static nserror hotlist_load_entry(dom_node *li, hotlist_load_ctx *ctx) return NSERROR_NOMEM; } - /* We're loading external input. - * This may be garbage, so attempt to normalise via nsurl - */ - + /* Need to get URL as a nsurl object */ err = nsurl_create(dom_string_data(url1), &url); dom_string_unref(url1); @@ -373,6 +370,7 @@ static nserror hotlist_load_entry(dom_node *li, hotlist_load_ctx *ctx) return err; } + /* Get the URL data */ data = urldb_get_url_data(url); if (data == NULL) { /* No entry in database, so add one */ -- cgit v1.2.3