diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2013-12-31 10:25:20 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2013-12-31 10:25:20 -0500 |
commit | 748602f91c94165c9ffcd6455331cb6191745c2d (patch) | |
tree | 47a3f6e72f9e79098d09567cf6dad0771b082764 | |
parent | 5126aef2ed966b62c4b6c7c0532d94fe57d3c8e9 (diff) |
fix formatting
-rwxr-xr-x | count_nucleobases.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/count_nucleobases.c b/count_nucleobases.c index fbf4ce2..e02f5f6 100755 --- a/count_nucleobases.c +++ b/count_nucleobases.c @@ -6,14 +6,14 @@ #include <stdbool.h> int main() { - ssize_t len = 0; + ssize_t len = 0; - unsigned long long counts[256] = {0}; + unsigned long long counts[256] = {0}; char buffer[4096]; bool header = false; - len = fread(&buffer, 1, 1, stdin); + len = fread(&buffer, 1, 1, stdin); if(len != NULL) { if(buffer[0] == '>') { @@ -21,7 +21,7 @@ int main() { while((len = fread(&buffer, 1, 4096, stdin)) != NULL) { unsigned int i = 0; for(i = 0; i < len; i++) { - if(buffer[i] == '>') { + if(buffer[i] == '>') { header = true; continue; } |