CacheRecordInfo: code refactoring changes done.

This commit is contained in:
Shreyas Zare
2024-02-04 17:24:06 +05:30
parent b9ea43c583
commit ef459b2f96

View File

@@ -1,6 +1,6 @@
/*
Technitium DNS Server
Copyright (C) 2023 Shreyas Zare (shreyas@technitium.com)
Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -69,7 +69,7 @@ namespace DnsServerCore.Dns.ResourceRecords
#region private
private static IReadOnlyList<DnsResourceRecord> ReadRecordsFrom(BinaryReader bR, bool includeInnerRRSigRecords)
private static DnsResourceRecord[] ReadRecordsFrom(BinaryReader bR, bool includeInnerRRSigRecords)
{
int count = bR.ReadByte();
if (count == 0)