projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- no HttpMessage property access by reference
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index 34a8e7181f23f0e799f5c2c9cb5c0a1694badadf..5ff5e33a7eff753d79771b9ade894f1a98c3dde0 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-1259,7
+1259,7
@@
PHP_FUNCTION(http_request_method_register)
{
char *method;
int method_len;
{
char *method;
int method_len;
- u
nsigned
long existing;
+ ulong existing;
if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &method, &method_len)) {
RETURN_FALSE;
if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &method, &method_len)) {
RETURN_FALSE;
@@
-1296,7
+1296,7
@@
PHP_FUNCTION(http_request_method_unregister)
if (is_numeric_string(Z_STRVAL_P(method), Z_STRLEN_P(method), NULL, NULL, 1)) {
convert_to_long(method);
} else {
if (is_numeric_string(Z_STRVAL_P(method), Z_STRLEN_P(method), NULL, NULL, 1)) {
convert_to_long(method);
} else {
- u
nsigned
long mn;
+ ulong mn;
if (!(mn = http_request_method_exists(1, 0, Z_STRVAL_P(method)))) {
RETURN_FALSE;
}
if (!(mn = http_request_method_exists(1, 0, Z_STRVAL_P(method)))) {
RETURN_FALSE;
}
@@
-1364,7
+1364,7
@@
PHP_FUNCTION(http_request_method_name)
RETURN_FALSE;
}
RETURN_FALSE;
}
- RETURN_STRING(estrdup(http_request_method_name((u
nsigned
long) method)), 0);
+ RETURN_STRING(estrdup(http_request_method_name((ulong) method)), 0);
}
}
/* }}} */
}
}
/* }}} */