Fix broken interface to set_namearray() - don't modify incoming string.