From: Pierre-Luc Beaudoin Date: Tue, 19 May 2009 14:05:18 +0000 (-0400) Subject: Fix bug: tiles without etag (in cache db) would always be reloaded. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da6fe49c08831988992e626ac93ef83b80eeb335;p=libchamplain Fix bug: tiles without etag (in cache db) would always be reloaded. Not finding an etag isn't an error, some servers don't support them. --- diff --git a/champlain/champlain-cache.c b/champlain/champlain-cache.c index b06f32e..e563f6b 100644 --- a/champlain/champlain-cache.c +++ b/champlain/champlain-cache.c @@ -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 {