aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-04 15:50:20 +0100
committerTeddy Wing2018-11-04 15:58:26 +0100
commit6880d1f0c3847cdf734812ee6a25c9935a01aacc (patch)
tree52c2b7427e49960ec1a6a46e04e4b25c3406b5a7
parentdf68b90dbf43ffeb563fc5d6f1fa34bccdcdf8bb (diff)
downloadDomeKey-6880d1f0c3847cdf734812ee6a25c9935a01aacc.tar.bz2
reload_mappings(): Print a log message when mappings are reloaded
In the daemon, we should print a log message when the mappings file gets reloaded. This allows you to follow along in the log file.
-rw-r--r--DomeKey/Mappings.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/DomeKey/Mappings.m b/DomeKey/Mappings.m
index 072cd11..967e3ed 100644
--- a/DomeKey/Mappings.m
+++ b/DomeKey/Mappings.m
@@ -51,9 +51,9 @@ void reload_mappings(
) {
if (CFStringCompare(name, CFNOTIFICATION_NAME_RELOAD, 0) ==
kCFCompareEqualTo) {
- // TODO: Mappings reloaded message
-
[Mappings reloadMappings];
+
+ teprintf("Mappings reloaded");
}
}