From da6fe49c08831988992e626ac93ef83b80eeb335 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Tue, 19 May 2009 10:05:18 -0400 Subject: [PATCH] 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. --- champlain/champlain-cache.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 { -- 2.39.5