Fixed bug.

This commit is contained in:
irungentoo 2015-07-21 21:49:37 -04:00
parent 553f3ea513
commit ba857a203a
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -2705,7 +2705,7 @@ static int messenger_load_state_callback(void *outer, const uint8_t *data, uint3
case MESSENGER_STATE_TYPE_PATH_NODE: { case MESSENGER_STATE_TYPE_PATH_NODE: {
Node_format nodes[NUM_SAVED_PATH_NODES]; Node_format nodes[NUM_SAVED_PATH_NODES];
if (length != sizeof(nodes)) { if (length == 0) {
return -1; return -1;
} }