summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}