Fixed a misused pointer variable in example client code