summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 123901f8a..d4fe1398b 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -669,7 +669,6 @@ char* DNS::dns_getresult_s(const int cfd, char *res) { /* retrieve result of DNS
res[rr.rdlength] = '\0';
break;
default:
- defaultcase:
memcpy(res,&h.payload[i],rr.rdlength);
res[rr.rdlength] = '\0';
break;