mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-27 11:54:49 +03:00
Lose debug.
svn path=/trunk/netsurf/; revision=3088
This commit is contained in:
parent
ef65cb38bd
commit
55ed73bf02
@ -757,13 +757,6 @@ bool urldb_add_url(const char *url)
|
||||
return false;
|
||||
}
|
||||
|
||||
LOG(("Scheme: %s\nHost: %s\nPort: %i\nPath: %s\nURL: %s",
|
||||
components.scheme,
|
||||
host,
|
||||
port,
|
||||
components.path,
|
||||
url));
|
||||
|
||||
/* Get path entry */
|
||||
p = urldb_add_path(components.scheme, port, h,
|
||||
components.path ? components.path : "",
|
||||
@ -1775,13 +1768,6 @@ struct path_data *urldb_find_url(const char *url)
|
||||
port = atoi(colon + 1);
|
||||
}
|
||||
|
||||
LOG(("Scheme: %s\nHost: %s\nPort: %i\nPath: %s\nURL: %s",
|
||||
components.scheme,
|
||||
host,
|
||||
port,
|
||||
components.path,
|
||||
url));
|
||||
|
||||
/* file urls have no host, so manufacture one */
|
||||
if (strcasecmp(components.scheme, "file") == 0)
|
||||
host = "localhost";
|
||||
@ -1789,11 +1775,9 @@ struct path_data *urldb_find_url(const char *url)
|
||||
tree = urldb_get_search_tree(host);
|
||||
h = urldb_search_find(tree, host);
|
||||
if (!h) {
|
||||
LOG(("Failed to find host"));
|
||||
url_destroy_components(&components);
|
||||
return NULL;
|
||||
}
|
||||
LOG(("Found host"));
|
||||
|
||||
/* generate plq */
|
||||
if (components.path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user