]> git.street.me.uk Git - andy/viking.git/blobdiff - src/file.c
Allow acquiring an URL with a username/password authenticated download.
[andy/viking.git] / src / file.c
index b3e2abeba637b506e5036b5ca91c1321a22ebab9..dc1a60e2214c72eaa9ae9ef550e8f9a37fd64063 100644 (file)
@@ -635,7 +635,7 @@ VikLoadType_t a_file_load ( VikAggregateLayer *top, VikViewport *vp, const gchar
     // In fact both kml & gpx files start the same as they are in xml
     if ( check_file_ext ( filename, ".kml" ) && check_magic ( f, GPX_MAGIC ) ) {
       // Implicit Conversion
-      if ( ! ( success = a_babel_convert_from ( VIK_TRW_LAYER(vtl), "-i kml", filename, NULL, NULL ) ) ) {
+      if ( ! ( success = a_babel_convert_from ( VIK_TRW_LAYER(vtl), "-i kml", filename, NULL, NULL, NULL ) ) ) {
         load_answer = LOAD_TYPE_GPSBABEL_FAILURE;
       }
     }