diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-15 19:55:12 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-16 08:25:25 +0100 |
commit | ec7e1f71c41e5aaf4e36372b24b791432b348667 (patch) | |
tree | 68112796b09f78324d0b8f58ff3ad3c9752e8634 | |
parent | da557af9670528200c229cb93a4466ff79374839 (diff) | |
download | netsurf-ec7e1f71c41e5aaf4e36372b24b791432b348667.tar.gz netsurf-ec7e1f71c41e5aaf4e36372b24b791432b348667.tar.bz2 |
Tidy some comments.
-rw-r--r-- | desktop/hotlist.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 */ |