curl_gssapi: refine the handling of CURLOPT_GSSAPI_DELEGATION

Suggested by Richard Silverman.
This commit is contained in:
Kamil Dudka
2011-07-25 11:49:26 +02:00
parent ebf42c4be7
commit a7864c41db
6 changed files with 29 additions and 8 deletions

View File

@@ -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:
/*