Fix cleanup bug

This commit is contained in:
Zhi Guan
2026-06-12 09:48:32 +08:00
parent d4be17a01f
commit e480e25109
3 changed files with 12 additions and 16 deletions

View File

@@ -93,8 +93,7 @@ int tlcp_client_main(int argc, char *argv[])
if (!strcmp(*argv, "-help")) {
printf("usage: gmssl %s %s\n\n", prog, usage);
printf("%s\n", help);
ret = 0;
goto end;
return 0;
} else if (!strcmp(*argv, "-host")) {
if (--argc < 1) goto bad;
host = *(++argv);