Skip to content
Snippets Groups Projects
Commit 9463903d authored by Cédric Roux's avatar Cédric Roux
Browse files

typo fix

parent 018da058
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ int main(int n, char **v)
for (i = 1; i < n; i++) {
if (!strcmp(v[i], "-h") || !strcmp(v[i], "--help")) usage();
if (!strcmp(v[i], "-l")) { if (i > n-3) usage();
if (!strcmp(v[i], "-r")) { if (i > n-3) usage();
remote_ip = v[++i]; remote_port = atoi(v[++i]); continue; }
printf("ERROR: unknown option %s\n", v[i]);
usage();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment