diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-05-24 17:22:32 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-05-26 17:19:30 +0200 |
commit | 10c9559dfc46afd5710b2d49fb61fe5ccafc87d0 (patch) | |
tree | 5492051d0cf084fda3079cfebc421ac47add3028 /src | |
parent | bc9424724d5e8a2b3f252005a99fe9adf003cfcd (diff) |
#1037 Make partition parameter validation permissive
Otherwise, ogServer rejects the response if ogClient sends more
parameters than required.
Diffstat (limited to 'src')
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ int og_json_parse_partition(json_t *element, struct og_partition *part, return err; } - if (flags != required_flags) + if ((flags & required_flags) != required_flags) return -1; return err; |