projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
383ece2
)
- allow options parameter to be NULL
author
Michael Wallner
<mike@php.net>
Mon, 23 Oct 2006 14:31:54 +0000
(14:31 +0000)
committer
Michael Wallner
<mike@php.net>
Mon, 23 Oct 2006 14:31:54 +0000
(14:31 +0000)
http_request_object.c
patch
|
blob
|
history
diff --git
a/http_request_object.c
b/http_request_object.c
index 81c051e2d37f37f03fde588e708e6e1367a7900c..f8347f780877e1792cebe9fec9a7c3a13c1d6de0 100644
(file)
--- a/
http_request_object.c
+++ b/
http_request_object.c
@@
-798,7
+798,7
@@
PHP_METHOD(HttpRequest, __construct)
zval *options = NULL;
SET_EH_THROW_HTTP();
- if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sla", &URL, &URL_len, &meth, &options)) {
+ if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sla
!
", &URL, &URL_len, &meth, &options)) {
if (URL) {
UPD_STRL(url, URL, URL_len);
}