Changeset 185 in josm


Ignore:
Timestamp:
2007-01-02T17:40:08+01:00 (18 years ago)
Author:
imi
Message:
  • fixed missing osm-server.version check for download
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/io/OsmServerReader.java

    r175 r185  
    2222         */
    2323        protected InputStream getInputStream(String urlStr, PleaseWaitDialog pleaseWaitDlg) throws IOException {
    24                 urlStr = Main.pref.get("osm-server.url")+"/0.3/" + urlStr;
     24                String version = Main.pref.get("osm-server.version", "0.3");
     25                urlStr = Main.pref.get("osm-server.url")+"/"+version+"/" + urlStr;
    2526                System.out.println("download: "+urlStr);
    2627                initAuthentication();
Note: See TracChangeset for help on using the changeset viewer.