projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix possible leaks when changing message type
[m6w6/ext-http]
/
php_http_std_defs.h
diff --git
a/php_http_std_defs.h
b/php_http_std_defs.h
index 0a80180d210dde01166ff35ae1ca03af3933354b..cf3e15fe97b07c251e6a8910c33049accc98684e 100644
(file)
--- a/
php_http_std_defs.h
+++ b/
php_http_std_defs.h
@@
-93,10
+93,7
@@
typedef int STATUS;
}
/* function accepts no args */
}
/* function accepts no args */
-#define NO_ARGS \
- if (ZEND_NUM_ARGS()) { \
- zend_error(E_NOTICE, "Wrong parameter count for %s()", get_active_function_name(TSRMLS_C)); \
- }
+#define NO_ARGS zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "");
/* CR LF */
#define HTTP_CRLF "\r\n"
/* CR LF */
#define HTTP_CRLF "\r\n"