[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] com =?UTF-8?Q?pecl/web=5Fservices/oauth=3A=20Fix=20type=3A=20oauth=2Ec=20?= =?UTF-8?Q?php
From: John Jawed <jawed () php ! net>
Date: 2019-12-19 13:45:11
Message-ID: php-mail-327561c2eedf4a81721da1c351fa7c71341165735 () git ! php ! net
[Download RAW message or body]
Commit: d95041f3fb66ccf29d2855bae6fe346fcb825038
Author: Rasmus Lerdorf <rasmus@lerdorf.com> Fri, 25 Oct 2019 13:28:42 \
-0700
Committer: Michael Wallner <mike@php.net> Thu, 19 Dec 2019 14:45:11 +0100
Parents: 239ababf2c2d9c39ccccf5b90bdd44ffb1876e04
Branches: master
Link: http://git.php.net/?p=pecl/web_services/oauth.git;a=commitdiff;h=d95041f3fb66ccf29d2855bae6fe346fcb825038
Log:
Fix type
Changed paths:
M oauth.c
M php_oauth.h
M provider.c
Diff:
diff --git a/oauth.c b/oauth.c
index 9caf819..48f7b62 100644
--- a/oauth.c
+++ b/oauth.c
@@ -1044,7 +1044,7 @@ long make_req_curl(php_so_object *soo, const char *url, const \
smart_string *payl double d_code;
zval info, *zca_info, *zca_path, *cur_val;
char *s_code, *content_type = NULL, *bufz = NULL;
- uit32_t sslcheck;
+ uint32_t sslcheck;
zend_ulong num_key;
smart_string sheader = {0};
zend_string *cur_key;
@@ -1412,7 +1412,7 @@ static long oauth_fetch(php_so_object *soo, const char *url, \
const char *method, HashTable *rargs = NULL, *rheaders = NULL;
long http_response_code, auth_type;
smart_string surl = {0}, payload = {0}, postdata = {0};
- uit32_t is_redirect = FALSE, follow_redirects = 0, need_to_free_rheaders = 0;
+ uint32_t is_redirect = FALSE, follow_redirects = 0, need_to_free_rheaders = 0;
auth_type = Z_LVAL_P(soo_get_property(soo, OAUTH_ATTR_AUTHMETHOD));
if(fetch_flags & OAUTH_OVERRIDE_HTTP_METHOD) {
diff --git a/php_oauth.h b/php_oauth.h
index fb00903..36bb849 100644
--- a/php_oauth.h
+++ b/php_oauth.h
@@ -216,12 +216,12 @@ typedef struct {
smart_string headers_in;
smart_string headers_out;
char last_location_header[OAUTH_MAX_HEADER_LEN];
- uit32_t redirects;
- uit32_t multipart_files_num;
- uit32_t sslcheck; /* whether we check for SSL verification or not */
- uit32_t debug; /* verbose output */
- uit32_t follow_redirects; /* follow and sign redirects? */
- uit32_t reqengine; /* streams or curl */
+ uint32_t redirects;
+ uint32_t multipart_files_num;
+ uint32_t sslcheck; /* whether we check for SSL verification or not */
+ uint32_t debug; /* verbose output */
+ uint32_t follow_redirects; /* follow and sign redirects? */
+ uint32_t reqengine; /* streams or curl */
long timeout; /* timeout in milliseconds */
char *nonce;
char *timestamp;
@@ -232,7 +232,7 @@ typedef struct {
php_so_debug *debug_info;
char **multipart_files;
char **multipart_params;
- uit32_t is_multipart;
+ uint32_t is_multipart;
void ***thread_ctx;
zend_object zo;
} php_so_object;
diff --git a/provider.c b/provider.c
index ccf4b67..76f33aa 100644
--- a/provider.c
+++ b/provider.c
@@ -975,7 +975,7 @@ SOP_METHOD(reportProblem)
char *out, *tmp_out, *http_header_line;
size_t pr_len;
zend_ulong lcode;
- uit32_t http_code;
+ uint32_t http_code;
sapi_header_line ctr = {0};
zend_bool send_headers = 1;
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic