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

astyle --options=tools/astylerc -r ./*.{c,h}

This commit is contained in:
irungentoo
2013-08-20 19:37:05 -04:00
parent 05fd02767f
commit 43d0d7a1c0
4 changed files with 30 additions and 24 deletions

4
main.c
View File

@@ -93,7 +93,7 @@ static Messenger *init_tox()
int init_connection(Messenger *m)
{
FILE *fp = NULL;
if (DHT_isconnected(m->dht))
return 0;
@@ -297,7 +297,7 @@ int main(int argc, char *argv[])
strcpy(DATA_FILE, user_config_dir);
strcat(DATA_FILE, CONFIGDIR);
strcat(DATA_FILE, "data");
SRVLIST_FILE = malloc(strlen(user_config_dir) + strlen(CONFIGDIR) + strlen("DHTservers") + 1);
strcpy(SRVLIST_FILE, user_config_dir);
strcat(SRVLIST_FILE, CONFIGDIR);