1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-17 08:36:34 +01:00

core API update

This commit is contained in:
Jfreegman
2014-11-11 18:30:23 -05:00
parent adb36a39bb
commit 43f45d67a4
6 changed files with 19 additions and 18 deletions

View File

@@ -314,15 +314,7 @@ static Tox *init_tox(void)
tox_callback_file_data(m, on_file_data, NULL);
tox_callback_read_receipt(m, on_read_receipt, NULL);
#ifdef __linux__
tox_set_name(m, (uint8_t *) "Cool dude", strlen("Cool dude"));
#elif defined(__FreeBSD__)
tox_set_name(m, (uint8_t *) "Nerd", strlen("Nerd"));
#elif defined(__APPLE__)
tox_set_name(m, (uint8_t *) "Hipster", strlen("Hipster")); /* This used to users of other Unixes are hipsters */
#else
tox_set_name(m, (uint8_t *) "Registered Minix user #4", strlen("Registered Minix user #4"));
#endif
tox_set_name(m, (uint8_t *) "Toxic User", strlen("Toxic User"));
return m;
}