aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcount_nucleobases.c8
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;
}