diff options
author | Seppia <nonso@insicuri.net> | 2016-06-09 03:57:33 +0200 |
---|---|---|
committer | Seppia <nonso@insicuri.net> | 2016-06-09 03:57:33 +0200 |
commit | a5100d0374dc95500e859a038aca249d8ecb532c (patch) | |
tree | c74ebce6544567f3a2b70256f91d754cfa04b69b | |
parent | 73d8f08b16502a47733ab56fc64b993b670eca61 (diff) | |
download | onetimebluh-a5100d0374dc95500e859a038aca249d8ecb532c.tar.gz onetimebluh-a5100d0374dc95500e859a038aca249d8ecb532c.tar.bz2 onetimebluh-a5100d0374dc95500e859a038aca249d8ecb532c.zip |
fixed tabs
-rw-r--r-- | keygen.c | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -4,26 +4,26 @@ int main(int argc, char* argv[]) { - int opt; + int opt; int nbytes = 256; - char* output; + char* output; int defout = 0; int defbyte = 0; - while ((opt = getopt(argc, argv, "b:o:")) != -1) { - switch (opt) { - case 'b': - nbytes = atoi(optarg); + while ((opt = getopt(argc, argv, "b:o:")) != -1) { + switch (opt) { + case 'b': + nbytes = atoi(optarg); defbyte = 1; - break; - case 'o': - output = argv[(optind-1)]; + break; + case 'o': + output = argv[(optind-1)]; defout = 1; - break; - default: - fprintf(stderr, "Usage: %s [-b nbytes] [-o output] \n", argv[0]); - exit(EXIT_FAILURE); - } - } + break; + default: + fprintf(stderr, "Usage: %s [-b nbytes] [-o output] \n", argv[0]); + exit(EXIT_FAILURE); + } + } if (nbytes < 0) { printf("Negative byte value inserted! \n"); |