Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-01-02 12:37:08 -0600
committerAllan McRae <allan@archlinux.org>2014-01-06 14:38:50 +1000
commit30740d9d2fd859cbfa214a8bb3236ba73dedf159 (patch)
treeed96e6c4752fd2d9019ea2700896a27d9500f35d /lib/libalpm/dload.h
parent086bbc5b623d08df9ffe595bd5ee965e668a4ae1 (diff)
Minor struct member reordering for packing concerns
Noticed using clang and `-Wpadded`. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
-rw-r--r--lib/libalpm/dload.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h
index e2c85af8..113414c5 100644
--- a/lib/libalpm/dload.h
+++ b/lib/libalpm/dload.h
@@ -31,6 +31,8 @@ struct dload_payload {
char *destfile_name;
char *content_disp_name;
char *fileurl;
+ alpm_list_t *servers;
+ long respcode;
off_t initial_size;
off_t max_size;
off_t prevprogress;
@@ -39,11 +41,9 @@ struct dload_payload {
int errors_ok;
int unlink_on_fail;
int trust_remote_name;
- alpm_list_t *servers;
#ifdef HAVE_LIBCURL
CURLcode curlerr; /* last error produced by curl */
#endif
- long respcode;
};
void _alpm_dload_payload_reset(struct dload_payload *payload);