mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
THRIFT-5101: Return NULL install of FALSE for thrift_server_socket_accept()
Client: c_glib Patch: wangyunjian This closes #2011 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
This commit is contained in:
parent
7b712f42d7
commit
d8480c9ac1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user