diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-08 18:12:26 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-08 18:12:26 +0000 |
commit | ccd9e03b629f4dd820122fd0426b86950b607cf4 (patch) | |
tree | d0497dbf5e6ee8e746bbda541c47de7c4bbe5e0f /navit/map/binfile | |
parent | 8caa6b08b449c05f2bdf83cfd2fcc6554e9b425e (diff) | |
download | navit-ccd9e03b629f4dd820122fd0426b86950b607cf4.tar.gz |
Fix:map_binfile:Avoid checking for redirect of non-existing connection
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3891 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map/binfile')
-rw-r--r-- | navit/map/binfile/binfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/map/binfile/binfile.c b/navit/map/binfile/binfile.c index abe46e076..7bf0c93c5 100644 --- a/navit/map/binfile/binfile.c +++ b/navit/map/binfile/binfile.c @@ -1059,7 +1059,7 @@ download_download(struct map_download *download) if (!size) return 1; data=file_data_read_special(download->http, size, &size_ret); - if (!download->read && map_binfile_handle_redirect(download->m)) { + if (!download->read && download->m->http && map_binfile_handle_redirect(download->m)) { g_free(data); download_request(download); return 0; |