tools/ctdb: Do not use function return value as pnn
authorAmitay Isaacs <amitay@gmail.com>
Tue, 6 Nov 2012 06:06:54 +0000 (17:06 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 22 Nov 2012 02:01:36 +0000 (13:01 +1100)
commitbde1c733fc8c4009202bf185452914f17631c1e7
tree1bae93b93a483d964a6ab63b0292b100679c96fa
parent6479566a0a104b903f499979db594541ffc00a1f
tools/ctdb: Do not use function return value as pnn

This fixes the wrong code where same variable 'ret' is used to track the pnn
and the return value of a function call.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Cherry-pick-from: 718233c445cd6627ab3962b6565c2655f1f8efd0
tools/ctdb.c