ctdb-ipalloc: Tidy up some of the IP allocation functions
authorMartin Schwenke <martin@meltin.net>
Fri, 6 Nov 2015 02:02:04 +0000 (13:02 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Dec 2015 08:17:17 +0000 (09:17 +0100)
commitfb662321557ab0de4df60e8630e332b21b671edf
tree3043eb5aea66a67e348c6485784ae9379a78b22c
parent5dcc1d7a69b0123fb8490a13a8852e7044e1ad88
ctdb-ipalloc: Tidy up some of the IP allocation functions

Shorter temporary variables for compactness/readability.  "tmp_ip" is
5 characters longer than "t".  In each for statement it is used 4
times, so costs 20 characters.  Save those extra characters so that
future edits will avoid going over 80 columns.

Tweak whitespace for readability, rewrap some code.

No functional changes.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover.c