mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed bug.
This commit is contained in:
parent
ba857a203a
commit
1de2ef78cf
|
@ -2706,7 +2706,7 @@ static int messenger_load_state_callback(void *outer, const uint8_t *data, uint3
|
|||
Node_format nodes[NUM_SAVED_PATH_NODES];
|
||||
|
||||
if (length == 0) {
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
|
||||
int i, num = unpack_nodes(nodes, NUM_SAVED_PATH_NODES, 0, data, length, 0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user