ref: 06a191efabc2334afca0b4b24ef6e53d5ba108ec
parent: 4668395812687f0a197a7a8fd50afbae67f73421
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Fri Aug 23 09:21:26 EDT 2013
Fix C&P error in proxy user/password macros. I guess no one was using these. Clearly we need to test this more often, but this is a pain without a reliable public proxy, or a local proxy server setup.
--- a/include/opusfile.h
+++ b/include/opusfile.h
@@ -660,7 +660,7 @@
arguments.
\hideinitializer*/
#define OP_HTTP_PROXY_USER(_user) \
- OP_URL_OPT(OP_HTTP_PROXY_USER_REQUEST),OP_CHECK_CONST_CHAR_PTR(_host)
+ OP_URL_OPT(OP_HTTP_PROXY_USER_REQUEST),OP_CHECK_CONST_CHAR_PTR(_user)
/**Use the given password for authentication when proxying connections.
All proxy parameters are ignored for non-http and non-https URLs.
@@ -673,7 +673,7 @@
arguments.
\hideinitializer*/
#define OP_HTTP_PROXY_PASS(_pass) \
- OP_URL_OPT(OP_HTTP_PROXY_PASS_REQUEST),OP_CHECK_CONST_CHAR_PTR(_host)
+ OP_URL_OPT(OP_HTTP_PROXY_PASS_REQUEST),OP_CHECK_CONST_CHAR_PTR(_pass)
/*@}*/
/*@}*/