settings: disallow modifying the content of a static subtree name

There may be value in being able to rename a subtree, but there is no
identified need to be able modify the text of an assigned subtree.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
Peter A. Bigot 2020-07-26 05:25:58 -05:00 committed by Carles Cufí
commit 8933c7db50

View file

@ -129,7 +129,7 @@ struct settings_handler {
*/
struct settings_handler_static {
char *name;
const char *name;
/**< Name of subtree. */
int (*h_get)(const char *key, char *val, int val_len_max);