ubus_api_validator: refactor pass/fail
Compare changes
+ 5
− 5
@@ -80,7 +80,7 @@ static int validate_jobj(struct json_object *jobj) {
@@ -119,12 +119,12 @@ static int validate_jobj(struct json_object *jobj) {
would fail unconditionally if response was not successful, regardless of return code