diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-28 12:06:36 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-28 13:01:03 -0500 |
commit | 9a58d5c6c5a69ebf7a920c357820a59c19d5b641 (patch) | |
tree | 1e5b5744e4c32b8e88c9ce4d96eb6bbc72eb4842 /lib/libalpm/handle.h | |
parent | 83f99bfb39841b254046f6c8a210b6a91aca22ee (diff) | |
download | pacman-9a58d5c6c5a69ebf7a920c357820a59c19d5b641.tar.xz |
Initialize cURL library on first use
Rather than always initializing it on any handle creation. There are
several frontend operations (search, info, etc.) that never need the
download code, so spending time initializing this every single time is a
bit silly. This makes it a bit more like the GPGME code init path.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.h')
-rw-r--r-- | lib/libalpm/handle.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index b1d70d2d..8477dcae 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -60,7 +60,6 @@ struct __alpm_handle_t { #ifdef HAVE_LIBCURL /* libcurl handle */ CURL *curl; /* reusable curl_easy handle */ - CURLcode curlerr; /* last error produced by curl */ #endif /* callback functions */ |