chiark / gitweb /
shared: fix wrong assertion in barrier_set_role()
authorCristian Rodríguez <crrodriguez@opensuse.org>
Fri, 20 Feb 2015 18:14:56 +0000 (15:14 -0300)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 24 Feb 2015 17:30:59 +0000 (18:30 +0100)
 assert(b->pipe[0] >= 0 && b->pipe[0] >= 0);

Test the same condition twice, pretty sure we mean

 assert(b->pipe[0] >= 0 && b->pipe[1] >= 0);


No differences found