We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f050234 commit 01004a2Copy full SHA for 01004a2
1 file changed
ext/repo_conda.c
@@ -161,11 +161,11 @@ parse_main(struct parsedata *pd, struct solv_jsonparser *jp)
161
{
162
if (type == JP_OBJECT && !strcmp("packages", jp->key))
163
type = parse_packages(pd, jp);
164
- if (type == JP_ARRAY && !strcmp("packages", jp->key))
+ else if (type == JP_ARRAY && !strcmp("packages", jp->key))
165
type = parse_packages2(pd, jp);
166
- if (type == JP_OBJECT && !strcmp("packages.conda", jp->key))
+ else if (type == JP_OBJECT && !strcmp("packages.conda", jp->key))
167
168
- if (type == JP_ARRAY && !strcmp("packages.conda", jp->key))
+ else if (type == JP_ARRAY && !strcmp("packages.conda", jp->key))
169
170
else
171
type = jsonparser_skip(jp, type);
0 commit comments