From: Michael Wallner Date: Thu, 25 Jan 2007 14:38:50 +0000 (+0000) Subject: - typo X-Git-Tag: RELEASE_1_5_0_RC1~23 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a0c54cae89e6c61a7f76037aa891898e6bd86e15;p=m6w6%2Fext-http - typo --- diff --git a/http_message_api.c b/http_message_api.c index 9c4d58b..6ac56ca 100644 --- 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;