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:
parent
f8c024a22f
commit
8933c7db50
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue