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
@ -756,13 +756,6 @@ bool urldb_add_url(const char *url)
|
|||||||
url_destroy_components(&components);
|
url_destroy_components(&components);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG(("Scheme: %s\nHost: %s\nPort: %i\nPath: %s\nURL: %s",
|
|
||||||
components.scheme,
|
|
||||||
host,
|
|
||||||
port,
|
|
||||||
components.path,
|
|
||||||
url));
|
|
||||||
|
|
||||||
/* Get path entry */
|
/* Get path entry */
|
||||||
p = urldb_add_path(components.scheme, port, h,
|
p = urldb_add_path(components.scheme, port, h,
|
||||||
@ -1775,13 +1768,6 @@ struct path_data *urldb_find_url(const char *url)
|
|||||||
port = atoi(colon + 1);
|
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 */
|
/* file urls have no host, so manufacture one */
|
||||||
if (strcasecmp(components.scheme, "file") == 0)
|
if (strcasecmp(components.scheme, "file") == 0)
|
||||||
host = "localhost";
|
host = "localhost";
|
||||||
@ -1789,11 +1775,9 @@ struct path_data *urldb_find_url(const char *url)
|
|||||||
tree = urldb_get_search_tree(host);
|
tree = urldb_get_search_tree(host);
|
||||||
h = urldb_search_find(tree, host);
|
h = urldb_search_find(tree, host);
|
||||||
if (!h) {
|
if (!h) {
|
||||||
LOG(("Failed to find host"));
|
|
||||||
url_destroy_components(&components);
|
url_destroy_components(&components);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
LOG(("Found host"));
|
|
||||||
|
|
||||||
/* generate plq */
|
/* generate plq */
|
||||||
if (components.path)
|
if (components.path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user