Fix typo in sample code
Merge pull request #753 from tkirda/master

Fix typo in API sample code