projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
header cleanups; fix IDE warnings
[m6w6/ext-http]
/
php_http_url.c
diff --git
a/php_http_url.c
b/php_http_url.c
index 7fe16645338910d10be2d7fae4751cdd96ef16ea..b55b7d7028d109532fe25d5f13e8da9751b20423 100644
(file)
--- a/
php_http_url.c
+++ b/
php_http_url.c
@@
-12,9
+12,6
@@
#include "php_http_api.h"
#include "php_http_api.h"
-#include <SAPI.h>
-#include <ext/standard/php_string.h>
-
static inline char *localhostname(void)
{
char hostname[1024] = {0};
static inline char *localhostname(void)
{
char hostname[1024] = {0};
@@
-246,7
+243,7
@@
PHP_HTTP_API void php_http_url(int flags, const php_url *old_url, const php_url
/* .. at the end */
ptr[1] = '\0';
}
/* .. at the end */
ptr[1] = '\0';
}
- /*
fallthrough
*/
+ /*
no break
*/
default:
/* something else */
default:
/* something else */