Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
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/conf.c2
-rw-r--r--src/pacman/sync.c4
-rw-r--r--src/pacman/util.c6
4 files changed, 7 insertions, 7 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index c9008e0b..78dcd638 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -201,7 +201,7 @@ void cb_event(alpm_event_t event, void *data1, void *data2)
alpm_pkg_get_name(data1),
alpm_pkg_get_version(data2),
alpm_pkg_get_version(data1));
- display_new_optdepends(data2,data1);
+ display_new_optdepends(data2, data1);
break;
case ALPM_EVENT_INTEGRITY_START:
if(config->noprogressbar) {
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index de299757..6ea7fe22 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -127,7 +127,7 @@ static int download_with_xfercommand(const char *url, const char *localpath,
int usepart = 0;
int cwdfd;
struct stat st;
- char *parsedcmd,*tempcmd;
+ char *parsedcmd, *tempcmd;
char *destfile, *tempfile, *filename;
if(!config->xfercommand) {
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 09d7657c..b25f7a5b 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -359,7 +359,7 @@ static void print_installed(alpm_db_t *db_local, alpm_pkg_t *pkg)
alpm_pkg_t *lpkg = alpm_db_get_pkg(db_local, pkgname);
if(lpkg) {
const char *lpkgver = alpm_pkg_get_version(lpkg);
- if(strcmp(lpkgver,pkgver) == 0) {
+ if(strcmp(lpkgver, pkgver) == 0) {
printf(" [%s]", _("installed"));
} else {
printf(" [%s: %s]", _("installed"), lpkgver);
@@ -573,7 +573,7 @@ static int sync_list(alpm_list_t *syncs, alpm_list_t *targets)
if(db == NULL) {
pm_printf(ALPM_LOG_ERROR,
- _("repository \"%s\" was not found.\n"),repo);
+ _("repository \"%s\" was not found.\n"), repo);
alpm_list_free(ls);
return 1;
}
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 014be1fc..27e1f158 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -1216,7 +1216,7 @@ void display_optdepends(alpm_pkg_t *pkg)
static void display_repo_list(const char *dbname, alpm_list_t *list,
unsigned short cols)
{
- const char *prefix= " ";
+ const char *prefix = " ";
printf(":: ");
printf(_("Repository %s\n"), dbname);
@@ -1311,14 +1311,14 @@ static int multiselect_parse(char *array, int count, char *response)
return -1;
if(!ends) {
- array[start-1] = include;
+ array[start - 1] = include;
} else {
int d;
if(parseindex(ends, &end, start, count) != 0) {
return -1;
}
for(d = start; d <= end; d++) {
- array[d-1] = include;
+ array[d - 1] = include;
}
}
}