database.c: Fixed package DESCRIPTION parsing
Regression introduced by 0fb0d30
which makes parsing a description
a critical failure.
[TT: Minor stylistic change. Fix also missing final line change
from the earlier commit]
cute-signatures
parent
18b0b45b5b
commit
7a3e8f4214
|
@ -2138,6 +2138,7 @@ static int load_apkindex(void *sctx, const struct apk_file_info *fi,
|
|||
if (r <= 0)
|
||||
return r;
|
||||
|
||||
r = 0;
|
||||
repo = &ctx->db->repos[ctx->repo];
|
||||
|
||||
if (strcmp(fi->name, "DESCRIPTION") == 0) {
|
||||
|
|
Loading…
Reference in New Issue