diff options
Diffstat (limited to 'testing/toxic/main.c')
-rw-r--r-- | testing/toxic/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c index 6f6c9db4..e5525e94 100644 --- a/testing/toxic/main.c +++ b/testing/toxic/main.c | |||
@@ -93,7 +93,7 @@ static Messenger *init_tox() | |||
93 | int init_connection(Messenger *m) | 93 | int init_connection(Messenger *m) |
94 | { | 94 | { |
95 | FILE *fp = NULL; | 95 | FILE *fp = NULL; |
96 | 96 | ||
97 | if (DHT_isconnected(m->dht)) | 97 | if (DHT_isconnected(m->dht)) |
98 | return 0; | 98 | return 0; |
99 | 99 | ||
@@ -297,7 +297,7 @@ int main(int argc, char *argv[]) | |||
297 | strcpy(DATA_FILE, user_config_dir); | 297 | strcpy(DATA_FILE, user_config_dir); |
298 | strcat(DATA_FILE, CONFIGDIR); | 298 | strcat(DATA_FILE, CONFIGDIR); |
299 | strcat(DATA_FILE, "data"); | 299 | strcat(DATA_FILE, "data"); |
300 | 300 | ||
301 | SRVLIST_FILE = malloc(strlen(user_config_dir) + strlen(CONFIGDIR) + strlen("DHTservers") + 1); | 301 | SRVLIST_FILE = malloc(strlen(user_config_dir) + strlen(CONFIGDIR) + strlen("DHTservers") + 1); |
302 | strcpy(SRVLIST_FILE, user_config_dir); | 302 | strcpy(SRVLIST_FILE, user_config_dir); |
303 | strcat(SRVLIST_FILE, CONFIGDIR); | 303 | strcat(SRVLIST_FILE, CONFIGDIR); |