mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Merge commit 'bb8e2824' into thread-next
This commit is contained in:
@@ -1492,8 +1492,8 @@
|
||||
if (len < 0)
|
||||
runtime("Invalid hex string");
|
||||
|
||||
struct bytestring *bs;
|
||||
bs = falloc(sizeof(struct bytestring) + len);
|
||||
struct adata *bs;
|
||||
bs = falloc(sizeof(struct adata) + len);
|
||||
bs->length = bstrhextobin(v1.val.s, bs->data);
|
||||
ASSERT(bs->length == (size_t) len);
|
||||
|
||||
|
Reference in New Issue
Block a user