summaryrefslogtreecommitdiffstats
path: root/source/namebrowse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/namebrowse.c')
-rw-r--r--source/namebrowse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/namebrowse.c b/source/namebrowse.c
index b426bc7a150..3bc4f9f82aa 100644
--- a/source/namebrowse.c
+++ b/source/namebrowse.c
@@ -190,11 +190,10 @@ static void start_sync_browse_entry(struct browse_cache_record *b)
/****************************************************************************
search through browser list for an entry to sync with
**************************************************************************/
-void do_browser_lists(void)
+void do_browser_lists(time_t t)
{
struct browse_cache_record *b;
static time_t last = 0;
- time_t t = time(NULL);
if (t-last < 20) return; /* don't do too many of these at once! */
/* XXXX equally this period should not be too long