mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
This commit is contained in:
commit
112c8dadf9
|
@ -1425,12 +1425,12 @@ static int Messenger_load_old(Messenger *m, uint8_t *data, uint32_t length)
|
|||
if (length < size)
|
||||
return -1;
|
||||
|
||||
if (DHT_load_old(m->dht, data, size) == -1)
|
||||
if (DHT_load_old(m->dht, data, size) == -1) {
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "Data file: Something wicked happened to the stored connections...\n");
|
||||
|
||||
/* DO go on, friends/name still might be intact */
|
||||
#endif
|
||||
/* DO go on, friends/name still might be intact */
|
||||
}
|
||||
|
||||
data += size;
|
||||
length -= size;
|
||||
|
|
Loading…
Reference in New Issue
Block a user