Skip to content

Commit

Permalink
interfaces-plugin: change state name set return for NULL name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrej committed Nov 2, 2022
1 parent 2862c38 commit d55c8ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ int interfaces_interface_state_hash_element_set_name(interfaces_interface_state_
return (*el)->state.name == NULL;
}

return 0;
return -1;
}

void interfaces_interface_state_hash_element_set_state(interfaces_interface_state_hash_element_t** el, const uint8_t state)
Expand Down

0 comments on commit d55c8ca

Please sign in to comment.