projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- bump version
[m6w6/ext-http]
/
http_url_api.c
diff --git
a/http_url_api.c
b/http_url_api.c
index 288abe445b1f88067777a33fa3dc90101923f2c1..64bc6bd08481a2f962ae9e96135e260bbe0394ad 100644
(file)
--- a/
http_url_api.c
+++ b/
http_url_api.c
@@
-18,21
+18,20
@@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
-
#include "php.h"
#include "php.h"
+
+#include "SAPI.h"
#include "zend_ini.h"
#include "php_output.h"
#include "ext/standard/url.h"
#include "zend_ini.h"
#include "php_output.h"
#include "ext/standard/url.h"
-#include "SAPI.h"
-
-#include "phpstr/phpstr.h"
-
#include "php_http.h"
#include "php_http_api.h"
#include "php_http_url_api.h"
#include "php_http_std_defs.h"
#include "php_http.h"
#include "php_http_api.h"
#include "php_http_url_api.h"
#include "php_http_std_defs.h"
+#include "phpstr/phpstr.h"
+
#ifdef PHP_WIN32
# include <winsock2.h>
#elif defined(HAVE_NETDB_H)
#ifdef PHP_WIN32
# include <winsock2.h>
#elif defined(HAVE_NETDB_H)
@@
-51,7
+50,7
@@
PHP_HTTP_API char *_http_absolute_url_ex(
#if defined(PHP_WIN32) || defined(HAVE_NETDB_H)
struct servent *se;
#endif
#if defined(PHP_WIN32) || defined(HAVE_NETDB_H)
struct servent *se;
#endif
- php_url *purl
, furl = {NULL}
;
+ php_url *purl
= NULL, furl
;
size_t full_len = 0;
zval *zhost = NULL;
char *scheme = NULL, *uri, *URL = ecalloc(1, HTTP_URI_MAXLEN + 1);
size_t full_len = 0;
zval *zhost = NULL;
char *scheme = NULL, *uri, *URL = ecalloc(1, HTTP_URI_MAXLEN + 1);