summaryrefslogtreecommitdiff
path: root/tools/ltgrey.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-30 21:35:05 (GMT)
committerJohn Denker <jsd@av8n.com>2012-07-30 21:35:34 (GMT)
commitc4cc2f1913b5b7d79ca2740bad6295a252017dea (patch)
treef50b83f0d0e65220792647d0d34bd79b9472b5b3 /tools/ltgrey.c
parent7024dc330299921af649330c45b99c21c3d7f022 (diff)
start handling two (or more) directories
Diffstat (limited to 'tools/ltgrey.c')
-rw-r--r--tools/ltgrey.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/ltgrey.c b/tools/ltgrey.c
index 1494338..b707dc2 100644
--- a/tools/ltgrey.c
+++ b/tools/ltgrey.c
@@ -29,7 +29,7 @@ int main(int _argc, char** _argv){
int shift(0);
int stain(0);
int dns_mode(0);
- string get40_mid;
+ string get_40_mid;
string set40_mid;
while (argc > 0) {
string arg = argv[0]; argc--; argv++;
@@ -46,7 +46,7 @@ int main(int _argc, char** _argv){
cerr << "Option '" << arg << "' requires an argument" << endl;
exeunt(ex_syserr);
}
- get40_mid = *argv++; argc--;
+ get_40_mid = *argv++; argc--;
} else if (prefix(arg, "-set40")) {
if (!argc){
cerr << "Option '" << arg << "' requires an argument" << endl;
@@ -88,18 +88,18 @@ int main(int _argc, char** _argv){
exeunt(foo.check_dns(ipvar, namevar));
}
- if (get40_mid.length()){
- state_40 rslt = foo.get40(get40_mid);
+ if (get_40_mid.length()){
+ box_state rslt = foo.get_40(get_40_mid);
cerr << foo.decode_40[rslt] << endl;
return 0;
}
if (set40_mid.length()){
- return foo.set40(set40_mid, shift);
+ return foo.set_40(set40_mid, shift);
}
if (scanmode) {
- foo.scan40(copies);
+ foo.scan_box(box_40, copies);
return 0;
}