Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason St. John <jstjohn@purdue.edu>2013-10-31 17:31:32 -0400
committerAllan McRae <allan@archlinux.org>2013-11-08 09:28:05 +1000
commit88df07717de868dc2bd2424afefaea6c77efa4c0 (patch)
treeb6d34122e5f6994a00c92c783597f7aa32a6f9dd
parent14cc790c59e55f4a3f4d7fc47a2f60c468c5887b (diff)
Remove spaces between the opening "if" and the opening parenthesis
Signed-off-by: Jason St. John <jstjohn@purdue.edu> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/dload.c2
-rw-r--r--src/pacman/sync.c2
-rw-r--r--src/pacman/util.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 7782f8dc..866c51df 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -547,7 +547,7 @@ static int curl_download_internal(struct dload_payload *payload,
goto cleanup;
}
- if (payload->trust_remote_name) {
+ if(payload->trust_remote_name) {
if(payload->content_disp_name) {
/* content-disposition header has a better name for our file */
free(payload->destfile_name);
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 0002db6e..e9b98fa3 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -391,7 +391,7 @@ static int sync_group(int level, alpm_list_t *syncs, alpm_list_t *targets)
}
}
}
- if (!found) {
+ if(!found) {
ret = 1;
}
}
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 0e9a4200..d7e44fbf 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -611,7 +611,7 @@ static int table_display(const alpm_list_t *header,
return -1;
}
- if (header) {
+ if(header) {
table_print_line(header, padding, totalcols, widths, has_data);
printf("\n");
}