From 748602f91c94165c9ffcd6455331cb6191745c2d Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 31 Dec 2013 10:25:20 -0500 Subject: fix formatting --- count_nucleobases.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'count_nucleobases.c') 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 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; } -- cgit v1.2.3