diff options
author | Patrick Monnerat <pm@datasphere.ch> | 2014-12-04 15:34:03 +0100 |
---|---|---|
committer | Patrick Monnerat <pm@datasphere.ch> | 2014-12-04 15:34:03 +0100 |
commit | 4ce87e33ee3ee2b9d66cee1e6eba5b98b2545d1f (patch) | |
tree | c1bb6269b7a86d8eac0b60a3a6355bdc15b0ae63 /packages | |
parent | 86fe7e502b4efbab19f9eea53355cfba04b0b625 (diff) | |
download | curl-4ce87e33ee3ee2b9d66cee1e6eba5b98b2545d1f.tar.gz |
OS400: enable Unix sockets.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/OS400/README.OS400 | 1 | ||||
-rw-r--r-- | packages/OS400/ccsidcurl.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400 index 6f8f58fad..99b606c89 100644 --- a/packages/OS400/README.OS400 +++ b/packages/OS400/README.OS400 @@ -113,6 +113,7 @@ options: CURLOPT_TLSAUTH_PASSWORD CURLOPT_TLSAUTH_TYPE CURLOPT_TLSAUTH_USERNAME + CURLOPT_UNIX_SOCKET_PATH CURLOPT_URL CURLOPT_USERAGENT CURLOPT_USERNAME diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 2dd7bcb92..d0e6827b7 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1114,7 +1114,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) if(testwarn) { testwarn = 0; - if((int) STRING_LASTZEROTERMINATED != (int) STRING_BEARER + 1 || + if((int) STRING_LASTZEROTERMINATED != (int) STRING_UNIX_SOCKET_PATH + 1 || (int) STRING_LAST != (int) STRING_COPYPOSTFIELDS + 1) curl_mfprintf(stderr, "*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n"); @@ -1174,6 +1174,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) case CURLOPT_TLSAUTH_PASSWORD: case CURLOPT_TLSAUTH_TYPE: case CURLOPT_TLSAUTH_USERNAME: + case CURLOPT_UNIX_SOCKET_PATH: case CURLOPT_URL: case CURLOPT_USERAGENT: case CURLOPT_USERNAME: |