afscp: null-terminate root.cell dir if needed in dynroot mode
authorDerrick Brashear <shadow@your-file-system.com>
Thu, 7 Mar 2013 11:53:16 +0000 (06:53 -0500)
committerDerrick Brashear <shadow@your-file-system.com>
Tue, 12 Mar 2013 13:34:49 +0000 (06:34 -0700)
commitceac74a6baad79155adaa692639b1d9f403525b6
treebd610cfd81559f8b850204a160f49a24dd7e135c
parent2998ab45353e631a348d1dded9ff21b8438628a0
afscp: null-terminate root.cell dir if needed in dynroot mode

instead of doing a check for something which will never be true,
and then terminating, just terminate if it's not already
null-terminated.

Change-Id: I8ad18800de22c8d10eb27fbcb2fffb2b3a5a9127
Reviewed-on: http://gerrit.openafs.org/9439
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chaskiel Grundman <cg2v@andrew.cmu.edu>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/libafscp/afscp_dir.c