Skip to content

Commit

Permalink
THRIFT-5101: Return NULL install of FALSE for thrift_server_socket_ac…
Browse files Browse the repository at this point in the history
…cept()

Client: c_glib
Patch: wangyunjian

This closes apache#2011

Signed-off-by: wangyunjian <wangyunjian@huawei.com>
  • Loading branch information
wyjwang authored and panivko committed May 29, 2020
1 parent 99a1802 commit 36216f4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -148,7 +148,7 @@ thrift_server_socket_accept (ThriftServerTransport *transport, GError **error)
THRIFT_SERVER_SOCKET_ERROR_ACCEPT,
"failed to accept connection - %s",
strerror(errno));
return FALSE;
return NULL;
}

socket = g_object_new (THRIFT_TYPE_SOCKET, NULL);
Expand Down

0 comments on commit 36216f4

Please sign in to comment.