chiark / gitweb /
Build fix
authorRichard Kettlewell <richard@heceptor.anjou.terraraq.org.uk>
Sat, 12 Jan 2008 13:22:31 +0000 (13:22 +0000)
committerRichard Kettlewell <richard@heceptor.anjou.terraraq.org.uk>
Sat, 12 Jan 2008 13:22:31 +0000 (13:22 +0000)
lib/trackdb.c
lib/trackdb.h

index 5bf2fed6d9132d7c6d744edb6c839db58b17dd96..5c64978e85f5de181d18acdb31b3b4549f290f6e 100644 (file)
@@ -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);
index b0f601ed8931882fab4de7272ed3dd757e00524b..cfe4e2ed2dcd86b68b71c8cb8971c90aede6f169 100644 (file)
@@ -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);