[tor-commits] [torperf/master] Remove unused command-line options -v and -F.
karsten at torproject.org
karsten at torproject.org
Sat Jul 30 01:20:43 UTC 2011
commit 9e94e666068c6d9daec1df567e44d93ffa8a6d85
Author: David Fifield <david at bamsoftware.com>
Date: Thu Jul 28 19:17:59 2011 +0000
Remove unused command-line options -v and -F.
---
trivsocks-client.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/trivsocks-client.c b/trivsocks-client.c
index 1c3d895..70e29a7 100644
--- a/trivsocks-client.c
+++ b/trivsocks-client.c
@@ -449,7 +449,7 @@ main(int argc, char **argv)
{
uint32_t sockshost;
uint16_t socksport;
- int isSocks4 = 0, isVerbose = 0, isReverse = 0, force = 0;
+ int isSocks4 = 0, isReverse = 0;
char **arg;
int n_args;
uint32_t result = 0;
@@ -470,16 +470,12 @@ main(int argc, char **argv)
}
while (n_args && *arg[0] == '-') {
- if (!strcmp("-v", arg[0]))
- isVerbose = 1;
- else if (!strcmp("-4", arg[0]))
+ if (!strcmp("-4", arg[0]))
isSocks4 = 1;
else if (!strcmp("-5", arg[0]))
isSocks4 = 0;
else if (!strcmp("-x", arg[0]))
isReverse = 1;
- else if (!strcmp("-F", arg[0]))
- force = 1;
else {
fprintf(stderr, "Unrecognized flag '%s'\n", arg[0]);
usage();
More information about the tor-commits
mailing list