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:
22bbc9d
)
- typo
author
Michael Wallner
<mike@php.net>
Thu, 25 Jan 2007 14:38:50 +0000
(14:38 +0000)
committer
Michael Wallner
<mike@php.net>
Thu, 25 Jan 2007 14:38:50 +0000
(14:38 +0000)
http_message_api.c
patch
|
blob
|
history
diff --git
a/http_message_api.c
b/http_message_api.c
index 9c4d58bd904a38a3c299bee119ceab60efb71dcc..6ac56ca37d618d9ea77a6554b84254898296bc4f 100644
(file)
--- a/
http_message_api.c
+++ b/
http_message_api.c
@@
-91,7
+91,7
@@
PHP_HTTP_API http_message *_http_message_init_env(http_message *message, http_me
memset(&inf, 0, sizeof(http_info));
switch (inf.type = type) {
case HTTP_MSG_REQUEST:
- if ((sval = http_get_server_var("SERVER_PROTOCOL", 1)) && !strncmp(Z_STRVAL_P(sval), "HTTP/", lenof("HTTP/")) {
+ if ((sval = http_get_server_var("SERVER_PROTOCOL", 1)) && !strncmp(Z_STRVAL_P(sval), "HTTP/", lenof("HTTP/"))
)
{
inf.http.version = atof(Z_STRVAL_P(sval) + lenof("HTTP/"));
} else {
inf.http.version = 1.1;