diff --git a/src/shared/json.h b/src/shared/json.h index 8760354b66..91d02a911e 100644 --- a/src/shared/json.h +++ b/src/shared/json.h @@ -331,9 +331,9 @@ typedef enum JsonDispatchFlags { JSON_SAFE = 1 << 3, /* Don't accept "unsafe" strings in json_dispatch_string() + json_dispatch_string() */ JSON_RELAX = 1 << 4, /* Use relaxed user name checking in json_dispatch_user_group_name */ - /* The following two may be passed into log_json() in addition to the three above */ - JSON_DEBUG = 1 << 4, /* Indicates that this log message is a debug message */ - JSON_WARNING = 1 << 5, /* Indicates that this log message is a warning message */ + /* The following two may be passed into log_json() in addition to those above */ + JSON_DEBUG = 1 << 5, /* Indicates that this log message is a debug message */ + JSON_WARNING = 1 << 6, /* Indicates that this log message is a warning message */ } JsonDispatchFlags; typedef int (*JsonDispatchCallback)(const char *name, JsonVariant *variant, JsonDispatchFlags flags, void *userdata);