mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Fix typo in config and config parser.
This commit is contained in:
parent
2ee63f24aa
commit
a46a39ce0e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue