projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- ditch some warnings
[m6w6/ext-http]
/
http_url_api.c
diff --git
a/http_url_api.c
b/http_url_api.c
index dd7066085d514e010937b7b88d5fa5d1b67f21bb..9c35a5c4a989f906191c929ad522cbf865429db6 100644
(file)
--- a/
http_url_api.c
+++ b/
http_url_api.c
@@
-90,7
+90,7
@@
PHP_HTTP_API char *_http_absolute_url_ex(
furl.port = purl->port;
} else if (strncmp(furl.scheme, "http", 4)) {
#if defined(PHP_WIN32) || defined(HAVE_NETDB_H)
- if (
se = getservbyname(furl.scheme, "tcp"
)) {
+ if (
(se = getservbyname(furl.scheme, "tcp")
)) {
furl.port = se->s_port;
}
#endif