1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

Put documentation (doc/events.txt) and reality back into alignment

by changing goto_url_with_hook not to call goto_uri if get_hooked_uri
returns NULL, which it does if a hook returns "", which several hooks do.
This commit is contained in:
Miciah Dashiel Butler Masters 2005-12-30 03:04:04 +00:00 committed by Miciah Dashiel Butler Masters
parent 73a91e6d8f
commit 470da90699

View File

@ -718,8 +718,11 @@ goto_url_with_hook(struct session *ses, unsigned char *url)
if (!*url) return;
uri = get_hooked_uri(url, ses, cwd);
if (!uri) return;
goto_uri(ses, uri);
if (uri) done_uri(uri);
done_uri(uri);
}
int