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>
Wed, 14 Nov 2012 00:00:21 +0000 (11:00 +1100)
commit718233c445cd6627ab3962b6565c2655f1f8efd0
tree441226148e0d743486942f453a75634ead6f9b19
parenta5c6bb1fffb8dc3960af113957a1fd080cc7c245
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>
tools/ctdb.c