mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 01:42:27 +00:00
Merge pull request #2398
e0592e87
dns_utils: remove a few obsolete things (moneromooo-monero)
This commit is contained in:
commit
c2e46edca2
1 changed files with 0 additions and 4 deletions
|
@ -27,8 +27,6 @@
|
||||||
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include "common/dns_utils.h"
|
#include "common/dns_utils.h"
|
||||||
#include "common/i18n.h"
|
|
||||||
#include "cryptonote_basic/cryptonote_basic_impl.h"
|
|
||||||
// check local first (in the event of static or in-source compilation of libunbound)
|
// check local first (in the event of static or in-source compilation of libunbound)
|
||||||
#include "unbound.h"
|
#include "unbound.h"
|
||||||
|
|
||||||
|
@ -326,8 +324,6 @@ bool DNSResolver::check_address_syntax(const char *addr) const
|
||||||
namespace dns_utils
|
namespace dns_utils
|
||||||
{
|
{
|
||||||
|
|
||||||
const char *tr(const char *str) { return i18n_translate(str, "tools::dns_utils"); }
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
// TODO: parse the string in a less stupid way, probably with regex
|
// TODO: parse the string in a less stupid way, probably with regex
|
||||||
std::string address_from_txt_record(const std::string& s)
|
std::string address_from_txt_record(const std::string& s)
|
||||||
|
|
Loading…
Reference in a new issue