diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-20 19:37:05 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-20 19:37:05 -0400 |
commit | 128223d9d1c70afe0adb4cfe0cfda39204379c3a (patch) | |
tree | d8191c6a088bcaf8c908fbb5e81a22825712330f /testing/toxic/main.c | |
parent | c7aafcfb4cff44a60fa54fa55cd9e3519b30e720 (diff) |
astyle --options=tools/astylerc -r ./*.{c,h}
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); |