Code cleanup in processCname(). Untested