My manipulation of the contents of *data instead of the value of data itself was foolish at best - forgot to leave the * off for my intent.