[systemd-devel] [PATCH] bus: fix duplicate comparisons

Carlos Silva r3pek at r3pek.org
Thu Oct 10 03:38:39 PDT 2013


On Thu, Oct 10, 2013 at 5:14 AM, Tero Roponen <tero.roponen at gmail.com>
 wrote:

> Testing for y > x is the same as testing for x < y.
>


> -        if (y > x)
> +        if (x > y)
>
<snip>

I thing you forgot to change the signs ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20131010/d01fef05/attachment.html>


More information about the systemd-devel mailing list