chiark / gitweb /
Emit a log event when a global pref changes.
authorRichard Kettlewell <rjk@terraraq.org.uk>
Sat, 30 Jul 2011 17:48:36 +0000 (18:48 +0100)
committerRichard Kettlewell <rjk@terraraq.org.uk>
Sat, 30 Jul 2011 17:48:36 +0000 (18:48 +0100)
lib/trackdb.c

index da5685a..ddf11af 100644 (file)
@@ -2765,6 +2765,7 @@ void trackdb_set_global(const char *name,
                   who ? who : "-");
     eventlog("state", state ? "enable_random" : "disable_random", (char *)0);
   }
+  eventlog("global_pref", name, value, (char *)0);
 }
 
 /** @brief Set a global preference