Skip to content
Snippets Groups Projects
Commit 42742f2e authored by Jihai Fan's avatar Jihai Fan
Browse files

exchange argv and argc

parent 5b698818
Branches
No related tags found
No related merge requests found
......@@ -247,10 +247,10 @@ int read_and_validate(const char *test_cert_example, char *url){
return result;
}
int main(int argv, char** argc)
int main(int argc, char** argv)
{
FILE* stream = fopen(argc[1], "r");
FILE* stream = fopen(argv[1], "r");
FILE* output = fopen("output.csv", "w+");
char line[1024];
while (fgets(line, 1024, stream))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment