2nd fix
This commit is contained in:
1 parent
915c73bcfc
commit
d81478755e
1 file changed
+3
@@ -352,6 +352,9 @@ struct tlvdb *tlvdb_find_path(struct tlvdb *tlvdb, tlv_tag_t tag[]) {
|
||||
|
||||
void tlvdb_add(struct tlvdb *tlvdb, struct tlvdb *other)
|
||||
{
|
||||
if (tlvdb == other)
|
||||
return;
|
||||
|
||||
while (tlvdb->next) {
|
||||
if (tlvdb->next == other)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user