diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2019-09-12 08:14:27 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2019-09-12 08:14:27 +0000 |
commit | cdd78b5d4dc581ea298f7e14e7b2403c27de216f (patch) | |
tree | 76a199f1f15148ddcfb85413ab1401b16d5f66ab /sbin/unwind/libunbound/sldns | |
parent | fdd053ee6e3ed8c86bb0e45daf13a69f1cf5a738 (diff) |
Update to libunbound 1.9.3
Heavy lifting by sthen with updating in-tree unbound(8)
Diffstat (limited to 'sbin/unwind/libunbound/sldns')
-rw-r--r-- | sbin/unwind/libunbound/sldns/str2wire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/unwind/libunbound/sldns/str2wire.c b/sbin/unwind/libunbound/sldns/str2wire.c index 1a51bb69560..097f621017f 100644 --- a/sbin/unwind/libunbound/sldns/str2wire.c +++ b/sbin/unwind/libunbound/sldns/str2wire.c @@ -187,7 +187,7 @@ rrinternal_get_owner(sldns_buffer* strbuf, uint8_t* rr, size_t* len, sldns_buffer_position(strbuf)); } - if(strcmp(token, "@") == 0) { + if(token[0]=='@' && token[1]=='\0') { uint8_t* tocopy; if (origin) { *dname_len = origin_len; |