lib/package_alternatives.c: revert back to orig order.

my mistake, I somehow confused it.
This commit is contained in:
Juan RP 2020-04-20 10:32:14 +02:00
parent 35ae128826
commit e155ba6d20
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -98,7 +98,7 @@ relpath(char *from, char *to)
for (up = -1, from--; from && *from; from = strchr(from + 1, '/'), up++);
rel = calloc(1, 3 * up + strlen(p));
rel = calloc(3 * up + strlen(p), 1);
if (!rel)
return NULL;