]> diplodocus.org Git - nmh/commit
sbr/oauth.c: Remove const to avoid curl's debug_callback warning.
authorRalph Corderoy <ralph@inputplus.co.uk>
Fri, 28 Apr 2017 21:08:26 +0000 (22:08 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Fri, 28 Apr 2017 21:08:26 +0000 (22:08 +0100)
commit213e031dda6a34c50c04de0d6041f45ab2db0a91
tree2224ca0090528d7269605f0214682ec68a5381fc
parent159b2a1ede7bd581508e8704112d83efd44e0dfa
sbr/oauth.c: Remove const to avoid curl's debug_callback warning.

The curl_debug_callback typedef doesn't use const for any of the
function's parameters.  On one of the compilation platforms here,
oauth.c's debug_callback having const specifiers for some parameters
causes compilation warnings, and -Werror stops the compilation.  Remove
them.
sbr/oauth.c