From e037328e219697f8453dc25df2b8f0d25bbc1acc Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sun, 15 Oct 2006 20:46:33 +0000 Subject: Corrected documentation compilation - succeeds now --- src/pacman/sync.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index d06ed278..e77c9eab 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -197,10 +197,11 @@ static int sync_search(list_t *syncs, list_t *targets) PM_PKG *pkg = alpm_list_getdata(lp); char *group = (char *)alpm_list_getdata(alpm_pkg_getinfo(pkg,PM_PKG_GROUPS)); - printf("%s/%s%s%s %s\n ", (char *)alpm_db_getinfo(sync->db, PM_DB_TREENAME), - (char *)alpm_pkg_getinfo(pkg, PM_PKG_NAME), - (char *)alpm_pkg_getinfo(pkg, PM_PKG_VERSION)); - (group ? " (" : ""), (group ? group : ""), (group ? ") " : ""), + printf("%s/%s %s %s%s%s\n ", + (char *)alpm_db_getinfo(sync->db, PM_DB_TREENAME), + (char *)alpm_pkg_getinfo(pkg, PM_PKG_NAME), + (char *)alpm_pkg_getinfo(pkg, PM_PKG_VERSION), + (group ? " (" : ""), (group ? group : ""), (group ? ") " : "")); indentprint((char *)alpm_pkg_getinfo(pkg, PM_PKG_DESC), 4); printf("\n"); } -- cgit v1.2.3-24-g4f1b