Return a cell name from afsconf_LookupServer
authorAndrew Deason <adeason@sinenomine.net>
Tue, 29 Dec 2009 20:45:51 +0000 (15:45 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 30 Dec 2009 02:20:29 +0000 (18:20 -0800)
commit6c9d49d096017f15306d0c9256f6dc2d933f001e
tree98f6754cb9382ff8d1b28e4d22a727605eab06e1
parent87de027fa430f67bd92153feedfc3fbab54c4c64
Return a cell name from afsconf_LookupServer

Previously, afsconf_LookupServer could not meaningfully return a cell
name, since a char* was passed in for realCellName, and
afsconf_GetAfsdbInfo was expecting the value of the pointer to change.
Change afsconf_LookupServer to take a char**, and pass realCellName by
reference, so we can get a cell name back.

Change-Id: Ib945fcb4be482ee155cdd1dcd62fe577c002082d
Reviewed-on: http://gerrit.openafs.org/1039
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/auth/cellconfig.c