auth: Refactor CellServDB path creation
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 13 Mar 2011 16:54:34 +0000 (16:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 14 Mar 2011 18:26:52 +0000 (11:26 -0700)
commita1a3ac4024b53ae513b782db0dc968a34707874b
tree0b16d7a2683f187cf94b3947e765d705b78e01c3
parent13e622c939928fcd35433aa4843c09ab44a7ae79
auth: Refactor CellServDB path creation

Move all of the duplicated code that does CellServDB path creation
into a common function. Use asprintf(), rather than strcompose in
this function so we're using fewer fixed length buffers.

Change-Id: I47ce92b97674bb09b5804ff5631fa47a21800902
Reviewed-on: http://gerrit.openafs.org/4214
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/auth/cellconfig.c