From a5100d0374dc95500e859a038aca249d8ecb532c Mon Sep 17 00:00:00 2001 From: Seppia Date: Thu, 9 Jun 2016 03:57:33 +0200 Subject: fixed tabs --- keygen.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'keygen.c') diff --git a/keygen.c b/keygen.c index 0dd64ca..7e49a85 100644 --- a/keygen.c +++ b/keygen.c @@ -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"); -- cgit v1.2.3