~foxtrotgps-team/foxtrotgps/trunk

« back to all changes in this revision

Viewing changes to src/init.c

  • Committer: Paul Wise
  • Date: 2018-03-27 06:04:17 UTC
  • Revision ID: pabs3@bonedaddy.net-20180327060417-hh1ppo8plpn04zpq
Update links

Use final destination where links are redirects.

Convert links from http to https, makes outgoing links slightly more secure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
280
280
                printf("REPOLIST == NULL\n");
281
281
 
282
282
                repo1->name = g_strdup("OSM");
283
 
                repo1->uri  = g_strdup("http://tile.openstreetmap.org/%d/%d/%d.png");
 
283
                repo1->uri  = g_strdup("https://tile.openstreetmap.org/%d/%d/%d.png");
284
284
                repo1->dir  = g_strdup_printf("%s/Maps/OSM",global_home_dir);
285
285
                repo1->inverted_zoom = 0;
286
286
                global_repo_list = g_slist_append(global_repo_list, repo1);
298
298
                global_repo_list = g_slist_append(global_repo_list, repo3);
299
299
 
300
300
                repo4->name = g_strdup("Google Maps (testing only)");
301
 
                repo4->uri  = g_strdup("http://mt0.google.com/vt/lyrs=m&hl=en&x=%d&y=%d&z=%d");
 
301
                repo4->uri  = g_strdup("https://mt0.google.com/vt/lyrs=m&hl=en&x=%d&y=%d&z=%d");
302
302
                repo4->dir  = g_strdup_printf("%s/Maps/googlemaps",global_home_dir);
303
303
                repo4->inverted_zoom = 1;
304
304
                global_repo_list = g_slist_append(global_repo_list, repo4);
305
305
 
306
306
                repo5->name = g_strdup("Google Sat (testing only)");
307
 
                repo5->uri  = g_strdup("http://mt0.google.com/vt/lyrs=s&hl=en&x=%d&y=%d&z=%d");
 
307
                repo5->uri  = g_strdup("https://mt0.google.com/vt/lyrs=s&hl=en&x=%d&y=%d&z=%d");
308
308
                repo5->dir  = g_strdup_printf("%s/Maps/googlesat",global_home_dir);
309
309
                repo5->inverted_zoom = 1;
310
310
                global_repo_list = g_slist_append(global_repo_list, repo5);