summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-07-22 22:55:52 -0400
committerirungentoo <irungentoo@gmail.com>2015-07-22 22:55:52 -0400
commit1de2ef78cfa498eef1b11f1e768b8d61bc1718ca (patch)
tree98b9e0842ef93d85e4bfffc961cda3042b480802
parentba857a203ae76a4e9b814adaebeaffa394464731 (diff)
Fixed bug.
-rw-r--r--toxcore/Messenger.c2
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);