Fix typo in config and config parser.

This commit is contained in:
Andreas Schneider 2008-05-21 15:22:45 +02:00
parent 2ee63f24aa
commit a46a39ce0e
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[global] [global]
# max diff time between two recplicas in seconds # max diff time between two recplicas in seconds
max_diff_time = 10 max_time_difference = 10
# max directory depth recursion # max directory depth recursion
max_depth = 50 max_depth = 50

View file

@ -61,7 +61,7 @@ int csync_config_load(CSYNC *ctx, const char *config) {
ctx->options.max_depth); ctx->options.max_depth);
ctx->options.max_time_difference = iniparser_getint(dict, ctx->options.max_time_difference = iniparser_getint(dict,
"global:max_time_differcence", MAX_TIME_DIFFERENCE); "global:max_time_difference", MAX_TIME_DIFFERENCE);
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "Config: max_time_difference = %d", CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "Config: max_time_difference = %d",
ctx->options.max_time_difference); ctx->options.max_time_difference);