From: Richard Kettlewell Date: Sat, 12 Jan 2008 13:22:31 +0000 (+0000) Subject: Build fix X-Git-Tag: 3.0~59 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/3d2988f6a628ac0da7a8b02ec9839f508cbff987 Build fix --- diff --git a/lib/trackdb.c b/lib/trackdb.c index 5bf2fed..5c64978 100644 --- a/lib/trackdb.c +++ b/lib/trackdb.c @@ -2168,7 +2168,7 @@ static int reap_rescan(ev_source attribute((unused)) *ev, * @param ev Event loop or 0 to block * @param check 1 to recheck lengths, 0 to suppress check */ -void trackdb_rescan(ev_source *ev, int check) { +void trackdb_rescan(ev_source *ev, int recheck) { int w; if(rescan_pid != -1) { @@ -2176,7 +2176,7 @@ void trackdb_rescan(ev_source *ev, int check) { return; } rescan_pid = subprogram(ev, -1, RESCAN, - check ? "--check" : "--no-check", + recheck ? "--check" : "--no-check", (char *)0); if(ev) { ev_child(ev, rescan_pid, 0, reap_rescan, 0); diff --git a/lib/trackdb.h b/lib/trackdb.h index b0f601e..cfe4e2e 100644 --- a/lib/trackdb.h +++ b/lib/trackdb.h @@ -136,7 +136,7 @@ char **trackdb_search(char **wordlist, int nwordlist, int *ntracks); /* return a list of tracks containing all of the words given. If you * ask for only stopwords you get no tracks. */ -void trackdb_rescan(struct ev_source *ev, int check); +void trackdb_rescan(struct ev_source *ev, int recheck); /* Start a rescan, if one is not running already */ int trackdb_rescan_cancel(void);