Fixed a misused pointer variable in example client code
Merge pull request #2 from falzm/master

Obvious mistake, thanks for fixing.