The Wayback Machine - https://web.archive.org/web/20200606100001/https://github.com/acl-dev/acl/issues/189
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing parentheses else statement #189

Open
KihwanCheon opened this issue Dec 17, 2019 · 1 comment
Open

Fix missing parentheses else statement #189

KihwanCheon opened this issue Dec 17, 2019 · 1 comment

Comments

@KihwanCheon
Copy link

@KihwanCheon KihwanCheon commented Dec 17, 2019

in elif ACL_WINDOWS

lib_acl/src/net/acl_vstream_net.c
line 117


@@ -114,7 +114,7 @@ ACL_VSTREAM *acl_vstream_accept_ex(ACL_VSTREAM *sstream,
                connfd = acl_accept(servfd, buf, sizeof(buf), NULL);
        } else if (sstream->iocp_sock == ACL_SOCKET_INVALID) {
                return NULL;
-       else {
+       } else {
                int   ret;

                connfd = sstream->iocp_sock;

@zhengshuxin
Copy link
Member

@zhengshuxin zhengshuxin commented Dec 18, 2019

Yes, you're right. Thank you very much.

-- zsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.