summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-01-03 18:48:53 -0300
committerAllan McRae <allan@archlinux.org>2013-01-04 21:49:38 +1000
commit86eefc1a3a3419bb41b2acab521a476db0d2a7ce (patch)
tree8409b0bbc5e4fe95a0ba8dad7f2892205dd7e2ee /src
parentb5709b8171c5be82ebb3651680ae3698b7513f43 (diff)
downloadpacman-86eefc1a3a3419bb41b2acab521a476db0d2a7ce.tar.xz
Fix space between control structure and open parens
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c2
-rw-r--r--src/pacman/sync.c2
-rw-r--r--src/util/pacsort.c2
3 files changed, 3 insertions, 3 deletions
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;
}