summaryrefslogtreecommitdiff
path: root/src/app_convndx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app_convndx.c')
-rw-r--r--src/app_convndx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_convndx.c b/src/app_convndx.c
index 6a4e6d7..eb98b5f 100644
--- a/src/app_convndx.c
+++ b/src/app_convndx.c
@@ -21,7 +21,7 @@ static void convert_index(struct conv_ctx *ctx, struct apk_istream *is)
adb_wo_alloca(&pkginfo, &schema_pkginfo, &ctx->dbi);
- while (!APK_BLOB_IS_NULL(l = apk_istream_get_delim(is, token))) {
+ while (apk_istream_get_delim(is, token, &l) == 0) {
if (l.len < 2) {
adb_wa_append_obj(&ctx->pkgs, &pkginfo);
continue;