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:
4
main.c
4
main.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user