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:23 +0000 (17:01 -0800)
commit408869427edc59058b6e7680e612b3a6cd46edc1
tree4eaf35d9bdaa26ebcaa43f8fc59a8da07e061277
parente2a6ca36ca0ebd859f87bf135b90395c53214f28
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