diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-04-03 00:05:31 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-04-03 00:52:58 +0200 |
| commit | 3a0df800664105f5944ad9e0230debe3a3207969 (patch) | |
| tree | f2ac5c150bae1b0fc62bf6381bded50bfad5b6bf /core/net/dns_windows.odin | |
| parent | 21fcf7c8744260c904e7040bdb1d550a0931aa3e (diff) | |
correct newly found vets
Diffstat (limited to 'core/net/dns_windows.odin')
| -rw-r--r-- | core/net/dns_windows.odin | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/core/net/dns_windows.odin b/core/net/dns_windows.odin index e54b067b6..ccec7ea4b 100644 --- a/core/net/dns_windows.odin +++ b/core/net/dns_windows.odin @@ -85,11 +85,9 @@ _get_dns_records_os :: proc(hostname: string, type: DNS_Record_Type, allocator : append(&recs, record) case .CNAME: - - hostname := strings.clone(string(r.Data.CNAME)) record := DNS_Record_CNAME{ base = base_record, - host_name = hostname, + host_name = strings.clone(string(r.Data.CNAME)), } append(&recs, record) @@ -107,10 +105,9 @@ _get_dns_records_os :: proc(hostname: string, type: DNS_Record_Type, allocator : } case .NS: - hostname := strings.clone(string(r.Data.NS)) record := DNS_Record_NS{ base = base_record, - host_name = hostname, + host_name = strings.clone(string(r.Data.NS)), } append(&recs, record) |