White spaces.

This commit is contained in:
Marcelo Roberto Jimenez 2012-02-23 15:20:02 -02:00
parent 33fcfeb79f
commit e88d9dbedc

View File

@ -1312,9 +1312,9 @@ parser_parse_requestline( INOUT http_parser_t * parser )
if (num_scanned != 2 || if (num_scanned != 2 ||
/* HTTP version equals to 1.0 should fail for MSEARCH as required by the /* HTTP version equals to 1.0 should fail for MSEARCH as required by the
* UPnP certification tool */ * UPnP certification tool */
hmsg->major_version < 0 || ( ( hmsg->major_version == 1 ) hmsg->major_version < 0 ||
&& ( hmsg->minor_version < 1 ) ( hmsg->major_version == 1 && hmsg->minor_version < 1 &&
&& ( Http_Method_Table[index].id == HTTPMETHOD_MSEARCH ) ) ) { Http_Method_Table[index].id == HTTPMETHOD_MSEARCH )) {
parser->http_error_code = HTTP_HTTP_VERSION_NOT_SUPPORTED; parser->http_error_code = HTTP_HTTP_VERSION_NOT_SUPPORTED;
/* error; bad http version */ /* error; bad http version */
return PARSE_FAILURE; return PARSE_FAILURE;