]> Pileus Git - grits/blobdiff - src/data/gis-wms.c
Force WMS to only update once
[grits] / src / data / gis-wms.c
index 509a18ebb03ab8b0e770831071757b9a6e34b0f7..9d388625556a26d0028705cd73b8746fb31d6ae6 100644 (file)
@@ -96,6 +96,7 @@ gchar *gis_wms_fetch(GisWms *self, GisTile *tile, GisCacheType mode,
        gchar *uri   = _make_uri(self, tile);
        gchar *tilep = gis_tile_get_path(tile);
        gchar *local = g_strdup_printf("%s%s", tilep, self->extension);
+       mode = GIS_ONCE;
        gchar *path  = gis_http_fetch(self->http, uri, local,
                        mode, callback, user_data);
        g_free(uri);