From: Kaj-Michael Lang Date: Fri, 21 Mar 2008 18:50:55 +0000 (+0200) Subject: Small fix to skip for 30 secs if nothing found logic X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faa1b54eab389884a96a2558cf76669decad42af;p=mapper Small fix to skip for 30 secs if nothing found logic --- diff --git a/src/osm-db.c b/src/osm-db.c index 1e3a2d9..0550226 100644 --- a/src/osm-db.c +++ b/src/osm-db.c @@ -1026,7 +1026,8 @@ if (map_loc->nfcnt>10) { g_debug("Here be dragons"); return FALSE; } else { - map_loc->last_valid=0; + g_debug("Trying again"); + map_loc->last_valid=time(NULL); map_loc->nfcnt=0; map_loc->valid=FALSE; }