projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add show-addresses option, to optionally hide user's IP addresses
[umurmur.git]
/
src
/
conf.c
diff --git
a/src/conf.c
b/src/conf.c
index bf21d99bb84cbe41f00caad5d82d34b07a789505..557e0f86b18fc9b9e096ecf50de741321a1055a7 100644
(file)
--- a/
src/conf.c
+++ b/
src/conf.c
@@
-320,6
+320,13
@@
bool_t getBoolConf(param_t param)
else
return config_setting_get_bool(setting);
break;
else
return config_setting_get_bool(setting);
break;
+ case SHOW_ADDRESSES:
+ setting = config_lookup(&configuration, "show_addresses");
+ if (!setting)
+ return true;
+ else
+ return config_setting_get_bool(setting);
+ break;
default:
doAssert(false);
}
default:
doAssert(false);
}