1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 06:16:45 +02:00

This should fix segfault and remove one-line comments

This commit is contained in:
mannol
2014-03-11 23:22:27 +01:00
parent 7c63bd80d6
commit ed3e9b476d
11 changed files with 42 additions and 51 deletions

View File

@ -430,7 +430,7 @@ static void prompt_onConnectionChange(ToxWindow *self, Tox *m, int friendnum , u
static void prompt_onFriendRequest(ToxWindow *self, uint8_t *key, uint8_t *data, uint16_t length)
{
// make sure message data is null-terminated
/* make sure message data is null-terminated */
data[length - 1] = 0;
PromptBuf *prt = self->promptbuf;
prep_prompt_win();