Commit 70990e42 authored by Dafydd Harries's avatar Dafydd Harries

stun: don't assert on unknown attributes

darcs-hash:20061220202508-c9803-878d2918e033b80d6d2dc2e22d4c37270acd4d78.gz
parent 6fa84db2
...@@ -51,9 +51,7 @@ stun_attribute_unpack(guint length, const gchar *s) ...@@ -51,9 +51,7 @@ stun_attribute_unpack(guint length, const gchar *s)
attr->address.ip = ntohl(*(guint32 *)(s + 8)); attr->address.ip = ntohl(*(guint32 *)(s + 8));
break; break;
default: default:
g_assert_not_reached(); break;
stun_attribute_free(attr);
return NULL;
} }
return attr; return attr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment