aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-21 00:23:41 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-21 00:23:41 +0200
commit859843ceda93c96bf0ab20ecf5b5e5a20456ea76 (patch)
tree6cdd3dad61e658b1f6cc25e0bf7758d7d628b918 /tests
parenta12d4944aa15730ab2e83796ecc62e8d221b2d13 (diff)
downloaddns-859843ceda93c96bf0ab20ecf5b5e5a20456ea76.tar.gz
fix qname and fqdn parsers
Diffstat (limited to 'tests')
-rw-r--r--tests/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dns.c b/tests/dns.c
index 49310ba..84346df 100644
--- a/tests/dns.c
+++ b/tests/dns.c
@@ -11,7 +11,7 @@
START_TEST (dns_qname) {
char in[128];
char out[128];
- char* fqdn = "sub.domain.example.com";
+ char* fqdn = "sub.domain.example.com.";
char* inval_fqdn = "is!this.domain.invalid?";
strncpy ( in, fqdn , 127);