]> err.no Git - libchamplain/commitdiff
Fix bug: tiles without etag (in cache db) would always be reloaded.
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 19 May 2009 14:05:18 +0000 (10:05 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 19 May 2009 14:08:37 +0000 (10:08 -0400)
Not finding an etag isn't an error, some servers don't support them.

champlain/champlain-cache.c

index b06f32efb33e1d3e6e2cd6363fc7acd18a080423..e563f6b80153a8476d378929d6237c40f8aa8b6c 100644 (file)
@@ -351,9 +351,8 @@ champlain_cache_fill_tile (ChamplainCache *self,
     }
   else if (sql_rc == SQLITE_DONE)
     {
-      DEBUG ("Can't find the Etag of '%s', error: %s",
-          filename, sqlite3_errmsg (priv->data));
-      goto cleanup;
+      DEBUG ("'%s' does't have an etag",
+          filename);
     }
   else
     {