mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-13 01:43:02 +01:00
small fix
This commit is contained in:
parent
c1dfb741c9
commit
7384440a3d
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user