summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeppia <nonso@insicuri.net>2016-06-09 03:57:33 +0200
committerSeppia <nonso@insicuri.net>2016-06-09 03:57:33 +0200
commita5100d0374dc95500e859a038aca249d8ecb532c (patch)
treec74ebce6544567f3a2b70256f91d754cfa04b69b
parent73d8f08b16502a47733ab56fc64b993b670eca61 (diff)
downloadonetimebluh-a5100d0374dc95500e859a038aca249d8ecb532c.tar.gz
onetimebluh-a5100d0374dc95500e859a038aca249d8ecb532c.tar.bz2
onetimebluh-a5100d0374dc95500e859a038aca249d8ecb532c.zip
fixed tabs
-rw-r--r--keygen.c30
1 files changed, 15 insertions, 15 deletions
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");