aboutsummaryrefslogtreecommitdiff
path: root/src/c/multifasta_to_otu.c
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-06-12 09:27:52 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2013-06-12 09:27:52 -0400
commit13351ef77d9f9f1cd130e7cf3fb9ce5b5cfc83e8 (patch)
tree8dece118bd1eb621b7b994b69b100a348f9b7917 /src/c/multifasta_to_otu.c
parent60ee644d6f1add6722eb8444385f203c6110975a (diff)
use larger size for count_commmand, remove extra quotes, and fix a broken check in multifasta2otu
Diffstat (limited to 'src/c/multifasta_to_otu.c')
-rw-r--r--src/c/multifasta_to_otu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/multifasta_to_otu.c b/src/c/multifasta_to_otu.c
index e0fb128..01a4f0e 100644
--- a/src/c/multifasta_to_otu.c
+++ b/src/c/multifasta_to_otu.c
@@ -144,7 +144,7 @@ int main(int argc, char **argv) {
}
input_directory_dh = opendir(input_fasta_directory);
- if(input_fasta_directory == NULL) {
+ if(input_directory_dh == NULL) {
fprintf(stderr, "could not open %s\n", input_fasta_directory);
exit(EXIT_FAILURE);
}