mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* gpgkeys_hkp.c (main), gpgkeys_curl.c (main), curl-shim.h: Show
version of curl (or curl-shim) when debug is set.
This commit is contained in:
parent
3244978721
commit
1990aacce0
@ -1,3 +1,8 @@
|
||||
2005-08-03 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_hkp.c (main), gpgkeys_curl.c (main), curl-shim.h: Show
|
||||
version of curl (or curl-shim) when debug is set.
|
||||
|
||||
2005-07-20 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_curl.c (get_key, main): Don't try and be smart about
|
||||
|
@ -85,5 +85,6 @@ CURLcode curl_easy_perform(CURL *curl);
|
||||
void curl_easy_cleanup(CURL *curl);
|
||||
char *curl_escape(char *str,int len);
|
||||
void curl_free(char *ptr);
|
||||
#define curl_version() "GnuPG curl-shim "VERSION
|
||||
|
||||
#endif /* !_CURL_SHIM_H_ */
|
||||
|
@ -260,6 +260,7 @@ main(int argc,char *argv[])
|
||||
|
||||
if(opt->debug)
|
||||
{
|
||||
fprintf(console,"gpgkeys: curl version = %s\n",curl_version());
|
||||
curl_easy_setopt(curl,CURLOPT_STDERR,console);
|
||||
curl_easy_setopt(curl,CURLOPT_VERBOSE,1);
|
||||
}
|
||||
|
@ -533,6 +533,7 @@ main(int argc,char *argv[])
|
||||
|
||||
if(opt->debug)
|
||||
{
|
||||
fprintf(console,"gpgkeys: curl version = %s\n",curl_version());
|
||||
curl_easy_setopt(curl,CURLOPT_STDERR,console);
|
||||
curl_easy_setopt(curl,CURLOPT_VERBOSE,1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user