diff options
author | Dan McGee <dan@archlinux.org> | 2011-04-20 19:45:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-20 19:47:39 -0500 |
commit | 4af6c72d790e13fd28abc0d7b2eaaece51fd7862 (patch) | |
tree | 1ac5a83657f77ee3a43d885c973c95f1ad3f31d2 /src/pacman/callback.c | |
parent | 6760ec2b770e65f2aae9cfd39135cefd49961195 (diff) |
syntax: if/while statements should have no trailing space
This is the standard, and we have had a few of these introduced lately
that should not be here.
Done with:
find -name '*.c' | xargs sed -i -e 's#if (#if(#g'
find -name '*.c' | xargs sed -i -e 's#while (#while(#g'
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 5071d524..d3dc7440 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -398,7 +398,7 @@ void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent, } infolen = getcols() * 6 / 10; - if (infolen < 50) { + if(infolen < 50) { infolen = 50; } @@ -507,7 +507,7 @@ void cb_dl_progress(const char *filename, off_t file_xfered, off_t file_total) } infolen = getcols() * 6 / 10; - if (infolen < 50) { + if(infolen < 50) { infolen = 50; } /* explanation of magic 28 number at the end */ |