curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: CURLOPT_XOAUTH2_BEARER use?

From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 20 Feb 2023 19:26:38 -0800

On Tue, Feb 21, 2023 at 03:19:12AM +0000, Matthew Bobowski wrote:
> No cast is necessary.
>
> #define CURLAUTH_BEARER (((unsigned long)1)<<6)

Ah, good. Many of the other contants (like CURLSSH_AUTH_* and CURLFTPAUTH_*)
*do* need that cast.
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-02-21