Skip to content

Commit

Permalink
Drop trailing whitespace and inconsistent spacing around args.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4hand committed Mar 17, 2017
1 parent 4dee0fc commit 6f4c537
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shoco-bin.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ typedef enum {
#define MAX_STACK_ALLOCATION_SIZE 65536

int main(int argc, char **argv) {
Job job;
Job job;
unsigned long in_size;
char *in_buffer;
char *out_buffer;
Expand All @@ -38,7 +38,7 @@ int main(int argc, char **argv) {
char *infile = argv[2];
char *outfile = argv[3];

fin = fopen (infile, "rb" );
fin = fopen(infile, "rb");
if (fin == NULL) {
fputs("Something went wrong opening the file. Does it even exist?", stderr);
exit(1);
Expand Down Expand Up @@ -73,7 +73,7 @@ int main(int argc, char **argv) {
len = shoco_decompress(in_buffer, in_size, out_buffer, in_size * 4);

fout = fopen(outfile, "wb");
fwrite(out_buffer , sizeof(char), len, fout);
fwrite(out_buffer, sizeof(char), len, fout);
fclose(fout);

if (in_size > MAX_STACK_ALLOCATION_SIZE) {
Expand Down

0 comments on commit 6f4c537

Please sign in to comment.