Fixed bug.

This commit is contained in:
irungentoo 2015-07-22 22:55:52 -04:00
parent ba857a203a
commit 1de2ef78cf
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -2706,7 +2706,7 @@ static int messenger_load_state_callback(void *outer, const uint8_t *data, uint3
Node_format nodes[NUM_SAVED_PATH_NODES]; Node_format nodes[NUM_SAVED_PATH_NODES];
if (length == 0) { if (length == 0) {
return -1; break;
} }
int i, num = unpack_nodes(nodes, NUM_SAVED_PATH_NODES, 0, data, length, 0); int i, num = unpack_nodes(nodes, NUM_SAVED_PATH_NODES, 0, data, length, 0);