aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-09-25 16:44:37 +0200
committerRiccardo Spagni <ric@spagni.net>2017-09-25 16:44:37 +0200
commitc2e46edca2a92c27c8ac886a0e9c655bb6a71ee1 (patch)
treec9a05d61e3c4935baabd89731cca053cf464e6b7 /src
parentMerge pull request #2386 (diff)
parentdns_utils: remove a few obsolete things (diff)
downloadmonero-c2e46edca2a92c27c8ac886a0e9c655bb6a71ee1.tar.xz
Merge pull request #2398
e0592e87 dns_utils: remove a few obsolete things (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/common/dns_utils.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp
index e7ff11c5c..9c306505e 100644
--- a/src/common/dns_utils.cpp
+++ b/src/common/dns_utils.cpp
@@ -27,8 +27,6 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#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)
#include "unbound.h"
@@ -326,8 +324,6 @@ bool DNSResolver::check_address_syntax(const char *addr) const
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
std::string address_from_txt_record(const std::string& s)