Merge pull request #154 from nicowilliams/no-fopen-re

Remove accidentally introduced use of fopen "e"
This commit is contained in:
Stephen Dolan committed 2013-06-17 15:34:01 -07:00
commit b78a4cdc93
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ int jq_testsuite(int argc, char* argv[]) {
FILE *testdata = stdin;
jv_test();
if (argc > 2) {
testdata = fopen(argv[2], "re");
testdata = fopen(argv[2], "r");
if (!testdata) {
perror("fopen");
exit(1);