projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* typo
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index 9aa6878561b580a09a9111250246b8d363f52d22..3902443bde951d6a5d8e861079c6947cdf55e90f 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-44,6
+44,7
@@
# ifdef HTTP_HAVE_CURL
# include "php_http_request_object.h"
# endif
# ifdef HTTP_HAVE_CURL
# include "php_http_request_object.h"
# endif
+# include "php_http_exception_object.h"
#endif
#include "phpstr/phpstr.h"
#endif
#include "phpstr/phpstr.h"
@@
-233,6
+234,7
@@
PHP_MINIT_FUNCTION(http)
# ifdef HTTP_HAVE_CURL
http_request_object_init(INIT_FUNC_ARGS_PASSTHRU);
# endif /* HTTP_HAVE_CURL */
# ifdef HTTP_HAVE_CURL
http_request_object_init(INIT_FUNC_ARGS_PASSTHRU);
# endif /* HTTP_HAVE_CURL */
+ http_exception_object_init(INIT_FUNC_ARGS_PASSTHRU);
#endif /* ZEND_ENGINE_2 */
return SUCCESS;
#endif /* ZEND_ENGINE_2 */
return SUCCESS;
@@
-283,8
+285,6
@@
PHP_RSHUTDOWN_FUNCTION(http)
phpstr_dtor(&HTTP_G(curlbuf));
#endif
phpstr_dtor(&HTTP_G(curlbuf));
#endif
- zval_dtor(&HTTP_G(message_object_tmp_property));
-
return SUCCESS;
}
/* }}} */
return SUCCESS;
}
/* }}} */