summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJelte Jansen <jeltejan@NLnetLabs.nl>2006-05-03 13:47:32 +0200
committerJelte Jansen <jeltejan@NLnetLabs.nl>2006-05-03 13:47:32 +0200
commit78543341eef07516c445ba2a424d563945fa625d (patch)
tree97c12f381535a60a3a46093e498f38eafff0cfa0 /examples
parent4d90466393fa70d208200fc09e4df101e1b59d0a (diff)
downloadldns-78543341eef07516c445ba2a424d563945fa625d.tar.gz
removed commented out code
Diffstat (limited to 'examples')
-rw-r--r--examples/ldns-keyfetcher.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/ldns-keyfetcher.c b/examples/ldns-keyfetcher.c
index 65edbd44..09245b56 100644
--- a/examples/ldns-keyfetcher.c
+++ b/examples/ldns-keyfetcher.c
@@ -676,22 +676,6 @@ main(int argc, char *argv[])
LDNS_FREE(domain_str);
LDNS_FREE(outputfile_str);
}
-/*
- domain_str = ldns_rdf2str(domain);
- outputfile = LDNS_XMALLOC(char, strlen(domain_str) + 8);
- outputfile[0] = 'K';
- strncpy(&outputfile[1], domain_str, strlen(domain_str));
- outputfile[strlen(domain_str) + 1] = '.';
- outputfile[strlen(domain_str) + 2] = '+';
- outputfile[strlen(domain_str) + 3] = '.';
- outputfile[strlen(domain_str) + 4] = '+';
- strncpy(&outputfile[strlen(domain_str) + 3], ".key", 5);
- if (verbosity >= 1) {
- fprintf(stdout, "Writing key to file %s\n", outputfile);
- }
- LDNS_FREE(domain_str);
- LDNS_FREE(outputfile);
-*/
} else {
ldns_rr_list_print(stdout, l);
}