diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/toxic/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c index e4165257..c4c84eaf 100644 --- a/testing/toxic/main.c +++ b/testing/toxic/main.c | |||
@@ -306,10 +306,7 @@ int main(int argc, char *argv[]) | |||
306 | config_err = create_user_config_dir(user_config_dir); | 306 | config_err = create_user_config_dir(user_config_dir); |
307 | 307 | ||
308 | if (config_err) { | 308 | if (config_err) { |
309 | strcat(DATA_FILE, dir); | ||
310 | DATA_FILE = strdup("data"); | 309 | DATA_FILE = strdup("data"); |
311 | |||
312 | |||
313 | } else { | 310 | } else { |
314 | DATA_FILE = malloc(strlen(user_config_dir) + strlen(CONFIGDIR) + strlen("data") + 1); | 311 | DATA_FILE = malloc(strlen(user_config_dir) + strlen(CONFIGDIR) + strlen("data") + 1); |
315 | strcpy(DATA_FILE, user_config_dir); | 312 | strcpy(DATA_FILE, user_config_dir); |