fixed print_statuschange & m_set_userstatus usage in nTox_win32.c
testing/toxic/prompt.c: changed execute() to skip whitespace at start of command
testing/toxic/prompt.c: changed execute() to ignore whitespace at end of commands
Fixed two bugs
forgot this
Allow to set a specific userstatus type in toxic

Use:
status <type> <message>, where type is one of
online
away
busy
offline

The message parameter is optional.

To set only the status message, as it was before, use:
statusmsg <message>
set USERSTATUS_KIND_RETAIN as default
Don't ignore the result of fwrite. Since we're building with -Wall and -Werror, this causes compile failures.
Actually use write_result
Merge pull request #374 from leeroy2098/master

Don't ignore the result of fwrite. Since we're building with -Wall and -...
Merge pull request #370 from JFreegman/master

Fixed two bugs
Merge pull request #360 from DarkSER/master

fixed print_statuschange & m_set_userstatus usage in nTox_win32.c
Merge branch 'master' of https://github.com/ptrasd/ProjectTox-Core into pull-requests
Merge branch 'provide-status-type' of https://github.com/jin-eld/ProjectTox-Core into pull-requests