Fix corresponding API name changes in toxcore.
Fix typo.
Merge pull request #58 from aitjcize/api-name

Fix corresponding API name changes in toxcore.