bundle: Fix returned error code in one bundle_check() corner case.
authorBen Pfaff <blp@nicira.com>
Tue, 27 Dec 2011 23:44:41 +0000 (15:44 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 28 Dec 2011 01:02:06 +0000 (17:02 -0800)
commita2545c3997ea4e0896da8f0531ae271c8a6a95ef
treead6edaac45911035c49a3d7c4e1a0eacd6436b7b
parentd730ccf057353ca94500fe8f2e6db25bbb1499f2
bundle: Fix returned error code in one bundle_check() corner case.

In C, the || operator yields 0 or 1, not (as in some other languages) the
value of its first nonzero operand.

Found by inspection.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/bundle.c