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:03:07 +0000 (17:03 -0800)
commitf0af39ff6cbe2e4be7e58bd9993d22490774ccb0
tree800fa46ebddfaaa7bfdc53cfa9d1b0b8814e0dde
parent090b95eaad37d4db390aafa12a6ac37f18976034
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