summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/toxic/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c
index 3ed2fa5e..9abe8de4 100644
--- a/testing/toxic/main.c
+++ b/testing/toxic/main.c
@@ -77,7 +77,7 @@ static Messenger *init_tox()
77 setname(m, (uint8_t *) "Cool guy", sizeof("Cool guy")); 77 setname(m, (uint8_t *) "Cool guy", sizeof("Cool guy"));
78#elif defined(WIN32) 78#elif defined(WIN32)
79 setname(m, (uint8_t *) "I should install GNU/Linux", sizeof("I should install GNU/Linux")); 79 setname(m, (uint8_t *) "I should install GNU/Linux", sizeof("I should install GNU/Linux"));
80#elif defined(MAC_OSX) 80#elif defined(__APPLE__)
81 setname(m, (uint8_t *) "Hipster", sizeof("Hipster")); //This used to users of other Unixes are hipsters 81 setname(m, (uint8_t *) "Hipster", sizeof("Hipster")); //This used to users of other Unixes are hipsters
82#else 82#else
83 setname(m, (uint8_t *) "Registered Minix user #4", sizeof("Registered Minix user #4")); 83 setname(m, (uint8_t *) "Registered Minix user #4", sizeof("Registered Minix user #4"));
@@ -292,8 +292,6 @@ int main(int argc, char *argv[])
292 if (config_err) { 292 if (config_err) {
293 DATA_FILE = strdup("data"); 293 DATA_FILE = strdup("data");
294 SRVLIST_FILE = strdup("../../other/DHTservers"); 294 SRVLIST_FILE = strdup("../../other/DHTservers");
295
296
297 } else { 295 } else {
298 DATA_FILE = malloc(strlen(user_config_dir) + strlen(CONFIGDIR) + strlen("data") + 1); 296 DATA_FILE = malloc(strlen(user_config_dir) + strlen(CONFIGDIR) + strlen("data") + 1);
299 strcpy(DATA_FILE, user_config_dir); 297 strcpy(DATA_FILE, user_config_dir);