On Wed, Apr 13, 2005 at 11:16:09AM -0000, ELinks cvs wrote:
> This is an automated notification of a change to the ELinks CVS tree.
> 
> Author: jonas
> Module: elinks
>    Tag: <TRUNK>
>   Date: Wed Apr 13 11:16:09 2005 GMT
> 
> ---- Log message:
> 
> Fix unused POST_HTTP_1_1() macro.
> 
> 
> ---- Files affected:
> 
> elinks/src/protocol/http:
>    http.c (1.417 -> 1.418) 
>     
> http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/protocol/http/http.c.diff?r1=1.417&r2=1.418&f=u
> 
> 
> ---- Diffs:
> 
>  elinks/src/protocol/http/http.c |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> 
> Index: elinks/src/protocol/http/http.c
> diff -u elinks/src/protocol/http/http.c:1.417 
> elinks/src/protocol/http/http.c:1.418
> --- elinks/src/protocol/http/http.c:1.417     Wed Apr 13 12:50:21 2005
> +++ elinks/src/protocol/http/http.c   Wed Apr 13 13:16:03 2005
> @@ -60,7 +60,7 @@
>  #define POST_HTTP_1_0(x) ((x).major > 1 || ((x).major == 1 && (x).minor > 0))
>  #define PRE_HTTP_1_1(x)  (PRE_HTTP_1_0(x) || HTTP_1_0(x))
>  #define HTTP_1_1(x)   ((x).major == 1 && (x).minor == 1)
> -#define POST_HTTP_1_1(x) ((x).major > 2 || ((x).major == 1 && (x).minor > 1))
> +#define POST_HTTP_1_1(x) ((x).major > 1 || ((x).major == 1 && (x).minor > 1))

This "fix" is incorrect, eg 2.0 is not matched. Previous macro is
correct, imho.

-- 

Zas
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to