diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-12-06 23:37:32 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-12 12:51:59 -0600 |
commit | 3d4656c0204956847a62c95b0f28747d7a0c2c05 (patch) | |
tree | 8263b85a03d387a6911748d763fdd1e8235248d7 /src/pacman/callback.c | |
parent | 5f0df423033c94e8ae52ca642284bf6a50fa9bbb (diff) |
code syntax cleanup
As per HACKING file, we use 'CTRL(' rather than 'CTRL ('
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/callback.c')
-rw-r--r-- | src/pacman/callback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 2d989ba9..c118940d 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -298,7 +298,7 @@ void cb_question(alpm_question_t event, void *data1, void *data2, alpm_list_t *unresolved = data1; alpm_list_t *namelist = NULL, *i; size_t count = 0; - for (i = unresolved; i; i = i->next) { + for(i = unresolved; i; i = i->next) { namelist = alpm_list_add(namelist, (char *)alpm_pkg_get_name(i->data)); count++; @@ -351,7 +351,7 @@ void cb_question(alpm_question_t event, void *data1, void *data2, time_t time = (time_t)key->created; strftime(created, 12, "%Y-%m-%d", localtime(&time)); - if (key->revoked) { + if(key->revoked) { revoked = " (revoked)"; } |