Skip to content

Commit f5610a4

Browse files
committed
initial ordering by reldep and reldep-trackfeatures for conda
1 parent 636c89b commit f5610a4

3 files changed

Lines changed: 308 additions & 40 deletions

File tree

src/conda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ solv_vercmp_conda(const char *s1, const char *q1, const char *s2, const char *q2
134134
return -1;
135135
if (s1p - s1 > s2p - s2)
136136
return 1;
137-
r = s1p - s1 ? strncmp(s1, s2, s1p - s1) : 0;
137+
r = (s1p - s1) ? strncmp(s1, s2, s1p - s1) : 0;
138138
if (r)
139139
return r;
140140
}

0 commit comments

Comments
 (0)