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

name conflict with core function might cause linking error

This commit is contained in:
Jfreegman
2014-08-15 12:22:39 -04:00
parent 67f637a1e1
commit 1d6ccf56a8
3 changed files with 4 additions and 4 deletions

View File

@ -145,7 +145,7 @@ static int save_blocklist(char *path)
uint8_t lastonline[sizeof(uint64_t)];
memcpy(lastonline, &Blocked.list[i].last_on, sizeof(uint64_t));
host_to_net(lastonline, sizeof(uint64_t));
hst_to_net(lastonline, sizeof(uint64_t));
memcpy(&tmp.last_on, lastonline, sizeof(uint64_t));
memcpy(data + count * sizeof(BlockedFriend), &tmp, sizeof(BlockedFriend));