ubik: Introduce IndexOf() 60/14060/7
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Fri, 28 Feb 2020 02:41:53 +0000 (02:41 +0000)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 24 Oct 2020 03:06:13 +0000 (23:06 -0400)
commitfed176cc50512b4a5ae83c64b24c25e04198fa24
treee3b795487766035a9c7019cb5f3e5ae7ed8a2955
parentea9e5e8519dc486cfb019447ee5d695de104079d
ubik: Introduce IndexOf()

To make the ubik_Call* functions cleaner, consolidate code that finds
the index of the connection associated with a host into a new function.

No functional change should be incurred by this commit.

Change-Id: I320d7a41221cb533e8d077c412f872152ac43b75
Reviewed-on: https://gerrit.openafs.org/14060
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/ubik/ubikclient.c