From f899e8907e2307aaa03d996d34b595e0e317e11c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 20 Oct 2013 12:43:19 +0200 Subject: [PATCH] distroquery: small cosmetic change on files list --- src/distroquery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/distroquery.c b/src/distroquery.c index c61177d..cce04ba 100644 --- a/src/distroquery.c +++ b/src/distroquery.c @@ -846,14 +846,14 @@ void printPackageData() { /* files list */ snprintf(dbname, PATH_MAX, "%s%s-%s-files.db", ct->repository_dir, ct->tag, query_arch); if (!sqlite3_open_v2(dbname, &dbf, SQLITE_OPEN_READONLY, NULL)) { - printf("

%s:
", _("Files list")); + printf("

%s:
", _("Files list")); snprintf(sql, PATH_MAX, "SELECT * FROM packages_files_rel,fileusers,filegroups WHERE" " packages_files_rel.name='%s' AND" " packages_files_rel.id_user=fileusers.id AND " " packages_files_rel.id_group=filegroups.id", query_package); if (sqlite3_prepare_v2(dbf, sql, strlen(sql), &stmt1, NULL) == SQLITE_OK) { while (sqlite3_step(stmt1) == SQLITE_ROW) { - printf("", + printf("", sqlite3_column_text(stmt1,sqlite3_find_column_id(stmt1, "fileusers", "name")), sqlite3_column_text(stmt1,sqlite3_find_column_id(stmt1, "filegroups", "name")), expandFileFlags(sqlite3_column_int(stmt1,sqlite3_find_column_id(stmt1, NULL, "flags")), sql),
%s%s%s%s
%s%s%s%s