libtnccs: Move settings to <ns>.tnc and <ns>.plugins with fallback

This commit is contained in:
Tobias Brunner
2014-02-12 14:34:34 +01:00
parent 505a69eba4
commit abd5c7bea2
7 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -662,7 +662,7 @@ tnccs_t* tnccs_11_create(bool is_server,
.callback = cb,
.mutex = mutex_create(MUTEX_TYPE_DEFAULT),
.max_msg_len = lib->settings->get_int(lib->settings,
"libtnccs.plugins.tnccs-11.max_message_size", 45000),
"%s.plugins.tnccs-11.max_message_size", 45000, lib->ns),
.ref = 1,
);