diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/Messenger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index ed35b696..c384ac17 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -2706,7 +2706,7 @@ static int messenger_load_state_callback(void *outer, const uint8_t *data, uint3 | |||
2706 | Node_format nodes[NUM_SAVED_PATH_NODES]; | 2706 | Node_format nodes[NUM_SAVED_PATH_NODES]; |
2707 | 2707 | ||
2708 | if (length == 0) { | 2708 | if (length == 0) { |
2709 | return -1; | 2709 | break; |
2710 | } | 2710 | } |
2711 | 2711 | ||
2712 | int i, num = unpack_nodes(nodes, NUM_SAVED_PATH_NODES, 0, data, length, 0); | 2712 | int i, num = unpack_nodes(nodes, NUM_SAVED_PATH_NODES, 0, data, length, 0); |