diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | toxav/msi.c | 2 | ||||
-rw-r--r-- | toxcore/group_chats.c | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -27,7 +27,7 @@ Every peer is represented as a [byte string][String] (the public key [Tox ID] of | |||
27 | We want Tox to be as simple as possible while remaining as secure as possible. | 27 | We want Tox to be as simple as possible while remaining as secure as possible. |
28 | 28 | ||
29 | ### Why are you doing this? There are already a bunch of free Skype alternatives. | 29 | ### Why are you doing this? There are already a bunch of free Skype alternatives. |
30 | The goal of this project is to create a configuration-free P2P Skype replacement. Configuration-free means that the user will simply have to open the program and without any account configuration will be capable of adding people to his or her's friends list and start conversing with them. There are many so-called Skype replacements and all of them are either hard to configure for the normal user or suffer from being way too centralized. | 30 | The goal of this project is to create a configuration-free P2P Skype replacement. “Configuration-free” means that the user will simply have to open the program and will be capable of adding people and communicating with them without having to set up an account. There are many so-called Skype replacements, but all of them are either hard to configure for the normal user or suffer from being way too centralized. |
31 | 31 | ||
32 | ## TODO: | 32 | ## TODO: |
33 | - [TODO](/docs/TODO) | 33 | - [TODO](/docs/TODO) |
diff --git a/toxav/msi.c b/toxav/msi.c index dad32afe..19925f9d 100644 --- a/toxav/msi.c +++ b/toxav/msi.c | |||
@@ -1552,6 +1552,7 @@ MSISession *msi_init_session ( Messenger *messenger, int32_t max_calls ) | |||
1552 | 1552 | ||
1553 | if (retu == NULL) { | 1553 | if (retu == NULL) { |
1554 | LOGGER_ERROR("Allocation failed! Program might misbehave!"); | 1554 | LOGGER_ERROR("Allocation failed! Program might misbehave!"); |
1555 | timer_terminate_session(handler); | ||
1555 | return NULL; | 1556 | return NULL; |
1556 | } | 1557 | } |
1557 | 1558 | ||
@@ -1561,6 +1562,7 @@ MSISession *msi_init_session ( Messenger *messenger, int32_t max_calls ) | |||
1561 | 1562 | ||
1562 | if (!(retu->calls = calloc( sizeof (MSICall *), max_calls ))) { | 1563 | if (!(retu->calls = calloc( sizeof (MSICall *), max_calls ))) { |
1563 | LOGGER_ERROR("Allocation failed! Program might misbehave!"); | 1564 | LOGGER_ERROR("Allocation failed! Program might misbehave!"); |
1565 | timer_terminate_session(handler); | ||
1564 | free(retu); | 1566 | free(retu); |
1565 | return NULL; | 1567 | return NULL; |
1566 | } | 1568 | } |
diff --git a/toxcore/group_chats.c b/toxcore/group_chats.c index 77fa6acd..949ec53a 100644 --- a/toxcore/group_chats.c +++ b/toxcore/group_chats.c | |||
@@ -469,7 +469,7 @@ static int handle_sendnodes(Group_Chat *chat, IP_Port source, int peernum, const | |||
469 | } | 469 | } |
470 | } | 470 | } |
471 | 471 | ||
472 | int ok = add_closepeer(chat, chat->group[peernum].client_id, source); | 472 | add_closepeer(chat, chat->group[peernum].client_id, source); |
473 | 473 | ||
474 | return 0; | 474 | return 0; |
475 | } | 475 | } |