1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-01 16:57:45 +02:00

small fix

This commit is contained in:
Jfreegman 2014-03-21 04:03:07 -04:00
parent c1dfb741c9
commit 7384440a3d

View File

@ -48,7 +48,7 @@ void init_logging_session(uint8_t *name, uint8_t *key, struct chatlog *log)
path_len += (KEY_IDENT_DIGITS * 2 + 5);
sprintf(&ident[0], "%02X", key[0] & 0xff);
sprintf(&ident[2], "%02X", key[2] & 0xff);
sprintf(&ident[2], "%02X", key[1] & 0xff);
ident[KEY_IDENT_DIGITS*2+1] = '\0';
} else {
uint8_t s[MAX_STR_SIZE];