[pacman-dev] [PATCH] Remove spaces between the opening "if" and the opening parenthesis
Jason St. John
jstjohn at purdue.edu
Thu Oct 31 17:31:32 EDT 2013
Signed-off-by: Jason St. John <jstjohn at purdue.edu>
---
lib/libalpm/dload.c | 2 +-
src/pacman/sync.c | 2 +-
src/pacman/util.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 1032f7c..c74d2ad 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 0002db6..e9b98fa 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 5960573..23eea98 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");
}
--
1.8.4.2
More information about the pacman-dev
mailing list