From faa1b54eab389884a96a2558cf76669decad42af Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 21 Mar 2008 20:50:55 +0200 Subject: [PATCH] Small fix to skip for 30 secs if nothing found logic --- src/osm-db.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5