mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
shared/json: disentangle flag mixup
_DEBUG and _RELAX had the same value… I'm not sure what the effect of this is.
This commit is contained in:
parent
01af366ef9
commit
680f2fb39d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user