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:01:53 +0000 (17:01 -0800)
commit56f15250697876f6e6844b6b897ee605e3e706c8
treeb42e0fcd7f543a45a54bf0977645d29fe3312ab2
parent17c4d52b4f5c60c5447a8b888dd019d3117d8719
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