1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 22:23:03 +01:00

Ran it through astyle

This commit is contained in:
Sean Qureshi 2013-08-18 01:48:36 -07:00
parent 6196c1f4eb
commit ccfff8b305
2 changed files with 6 additions and 5 deletions

10
main.c
View File

@ -92,11 +92,11 @@ int init_connection(void)
if (DHT_isconnected())
return 0;
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
FILE *fp = fopen("DHTservers", "r");
#else
FILE *fp = fopen("~/.tox/DHTservers", "r");
#endif
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
FILE *fp = fopen("DHTservers", "r");
#else
FILE *fp = fopen("~/.tox/DHTservers", "r");
#endif
if (!fp)
return 1;

View File

@ -273,6 +273,7 @@ void cmd_nick(ToxWindow *self, Messenger *m, char **args)
char *nick = args[1];
setname(m, (uint8_t *) nick, strlen(nick) + 1);
wprintw(self->window, "Nickname set to: %s\n", nick);
if (store_data(m, DATA_FILE)) {
wprintw(self->window, "\nCould not store Messenger data\n");
}