D was a nonresident of North Carolina and was served a summons while attending a Swain Superior Court action to prosecute an action in which he was sued as a witness in his own behalf. D was not in North Carolina for any other purpose. The action was dismissed and P appealed.