Commit Diff


commit - 8f127baa620cc9591a7be4e199bed821b2960644
commit + ed383cf46b080fe7b60358ed3e26b0c8af363847
blob - 10c411cd8ebaf898e152e0d585a4ab4a73c6588b
blob + 46909951cae3e185aadf7c9e92763352af8c8076
--- telescope.c
+++ telescope.c
@@ -345,7 +345,7 @@ do_load_url(struct tab *tab, const char *url)
 	    sizeof(tab->hist_cur->h));
 
 	for (p = protos; p->schema != NULL; ++p) {
-		if (!strcmp(uri.scheme, p->schema)) {
+		if (!strcmp(tab->uri.scheme, p->schema)) {
 			p->loadfn(tab, url);
                         return;
 		}