From 86eefc1a3a3419bb41b2acab521a476db0d2a7ce Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Thu, 3 Jan 2013 18:48:53 -0300 Subject: Fix space between control structure and open parens Signed-off-by: Gerardo Exequiel Pozzi Signed-off-by: Allan McRae --- src/pacman/callback.c | 2 +- src/pacman/sync.c | 2 +- src/util/pacsort.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 78dcd638..f53f59c8 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -423,7 +423,7 @@ void cb_progress(alpm_progress_t event, const char *pkgname, int percent, prevcurrent = current; /* set text of message to display */ - switch (event) { + switch(event) { case ALPM_PROGRESS_ADD_START: opr = _("installing"); break; diff --git a/src/pacman/sync.c b/src/pacman/sync.c index b25f7a5b..fef2940a 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -229,7 +229,7 @@ static int sync_cleancache(int level) continue; } - if (level <= 1) { + if(level <= 1) { static const char * const glob_skips[] = { /* skip signature files - they are removed with their package file */ "*.sig", diff --git a/src/util/pacsort.c b/src/util/pacsort.c index 7275cc77..c7b8c940 100644 --- a/src/util/pacsort.c +++ b/src/util/pacsort.c @@ -205,7 +205,7 @@ static int splitfile(FILE *stream, struct buffer_t *buffer, struct list_t *list) while(!feof(stream)) { /* check if a read of BUFSIZ chars will overflow */ - if (buffer->len + BUFSIZ + 1 >= buffer->maxlen) { + if(buffer->len + BUFSIZ + 1 >= buffer->maxlen) { if(buffer_grow(buffer) != 0) { return 1; } -- cgit v1.2.3-24-g4f1b