mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +01:00
* curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl
better - libcurl uses 'long', not 'unsigned int'.
This commit is contained in:
parent
9fbb6f402c
commit
b9cbb0aa0b
@ -1,3 +1,8 @@
|
|||||||
|
2008-04-14 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* curl-shim.c (curl_easy_setopt): Minor tweak to match the real
|
||||||
|
curl better - libcurl uses 'long', not 'unsigned int'.
|
||||||
|
|
||||||
2008-03-25 Werner Koch <wk@g10code.com>
|
2008-03-25 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* gpgkeys_ldap.c (build_attrs): Take care of char defaulting to
|
* gpgkeys_ldap.c (build_attrs): Take care of char defaulting to
|
||||||
|
@ -129,16 +129,16 @@ curl_easy_setopt(CURL *curl,CURLoption option,...)
|
|||||||
curl->proxy=va_arg(ap,char *);
|
curl->proxy=va_arg(ap,char *);
|
||||||
break;
|
break;
|
||||||
case CURLOPT_POST:
|
case CURLOPT_POST:
|
||||||
curl->flags.post=va_arg(ap,unsigned int);
|
curl->flags.post=va_arg(ap,long)?1:0;
|
||||||
break;
|
break;
|
||||||
case CURLOPT_POSTFIELDS:
|
case CURLOPT_POSTFIELDS:
|
||||||
curl->postfields=va_arg(ap,char *);
|
curl->postfields=va_arg(ap,char *);
|
||||||
break;
|
break;
|
||||||
case CURLOPT_FAILONERROR:
|
case CURLOPT_FAILONERROR:
|
||||||
curl->flags.failonerror=va_arg(ap,unsigned int);
|
curl->flags.failonerror=va_arg(ap,long)?1:0;
|
||||||
break;
|
break;
|
||||||
case CURLOPT_VERBOSE:
|
case CURLOPT_VERBOSE:
|
||||||
curl->flags.verbose=va_arg(ap,unsigned int);
|
curl->flags.verbose=va_arg(ap,long)?1:0;
|
||||||
break;
|
break;
|
||||||
case CURLOPT_STDERR:
|
case CURLOPT_STDERR:
|
||||||
curl->errors=va_arg(ap,FILE *);
|
curl->errors=va_arg(ap,FILE *);
|
||||||
|
Loading…
Reference in New Issue
Block a user