[ircd-ratbox] ircd-ratbox-2.2.9 bug report

Aaron Sethman androsyn at ratbox.org
Fri Oct 23 15:14:39 UTC 2015


Hello David,

Thanks for the bug report, though we're mostly not supporting the 2.2 
tree anymore.  Support for 2.2 was dropped in November 2011 and this 
particular piece of code does not exist anymore in 3.x.

Thanks,

Aaron

On 10/21/2015 05:32 AM, David Binderman wrote:
> Hello there,
>
> io.c:466:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
>
> SOurce code is
>
>           if(!(ret2 = deflate(&out_state.zip_state.z_stream,
>                          Z_PARTIAL_FLUSH)) == Z_OK)
>
> Maybe better code
>
>           if ((ret2 = deflate(&out_state.zip_state.z_stream,
>                          Z_PARTIAL_FLUSH)) != Z_OK)
>
> Regards
>
> David Binderman
>
>
>   		 	   		
> _______________________________________________
> ircd-ratbox mailing list
> ircd-ratbox at lists.ratbox.org
> http://lists.ratbox.org/cgi-bin/mailman/listinfo/ircd-ratbox
>



More information about the ircd-ratbox mailing list