diff options
author | Kamil Dudka <kdudka@redhat.com> | 2011-07-25 11:49:26 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2011-08-03 10:56:41 +0200 |
commit | a7864c41db6ac12a1b67f2646f837174f75a240b (patch) | |
tree | 7419b11b1cbdac81bba4725c1ee9a62d246c1553 /lib/url.c | |
parent | ebf42c4be76df40ec6d3bf32f229bbb274e2c32f (diff) |
curl_gssapi: refine the handling of CURLOPT_GSSAPI_DELEGATION
Suggested by Richard Silverman.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1977,9 +1977,9 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, break; case CURLOPT_GSSAPI_DELEGATION: /* - * allow GSSAPI credential delegation + * GSSAPI credential delegation */ - data->set.gssapi_delegation = (bool)(0 != va_arg(param, long)); + data->set.gssapi_delegation = va_arg(param, long); break; case CURLOPT_SSL_VERIFYPEER: /* |