summaryrefslogtreecommitdiff
path: root/examples/ldns-keyfetcher.c
diff options
context:
space:
mode:
authorWouter Wijngaards <wouter@NLnetLabs.nl>2006-07-05 11:48:02 +0200
committerWouter Wijngaards <wouter@NLnetLabs.nl>2006-07-05 11:48:02 +0200
commit8c98d3a7b00f8dd51441d4976fdf9f4c6154e59c (patch)
tree7bacb021dec4b3465d55cc7f0cda17fd9c941183 /examples/ldns-keyfetcher.c
parentddcfe29aae5f3a118b6b53bd4e04fbd6bbb6bf53 (diff)
downloadldns-8c98d3a7b00f8dd51441d4976fdf9f4c6154e59c.tar.gz
got examples to compile on Solaris. No stdint include file. store symbol is globally defined by a library. Need to link with network libs for daemon example.
Diffstat (limited to 'examples/ldns-keyfetcher.c')
-rw-r--r--examples/ldns-keyfetcher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/ldns-keyfetcher.c b/examples/ldns-keyfetcher.c
index b72acb80..d1cbb282 100644
--- a/examples/ldns-keyfetcher.c
+++ b/examples/ldns-keyfetcher.c
@@ -14,7 +14,7 @@
int verbosity = 0;
/* 0=use both ip4 and ip6 (default). 1=ip4only. 2=ip6only. */
uint8_t address_family = 0;
-bool store = false;
+bool store_in_file = false;
void
usage(FILE *fp, char *prog) {
@@ -599,7 +599,7 @@ main(int argc, char *argv[])
i++;
}
} else if (strncmp("-s", argv[i], 3) == 0) {
- store = true;
+ store_in_file = true;
} else if (strncmp("-v", argv[i], 2) == 0) {
if (strlen(argv[i]) > 2) {
verbosity = atoi(argv[i]+2);
@@ -660,7 +660,7 @@ main(int argc, char *argv[])
fprintf(stdout, "; Got the following keys:\n");
}
if (l) {
- if (store) {
+ if (store_in_file) {
/* create filename:
* K<domain>.+<alg>.+<id>.key
*/