mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-29 07:19:42 +08:00
protobuf-c-rpc/protobuf-c-rpc.c: remove the duplicate call to
protobuf_c_dispatch_close_fd() (fixes #82)
This commit is contained in:
parent
b5b1d4e907
commit
3ec5aa1256
@ -269,7 +269,6 @@ handle_client_fd_connect_events (int fd,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Call error handler */
|
/* Call error handler */
|
||||||
protobuf_c_dispatch_close_fd (client->dispatch, client->fd);
|
|
||||||
client_failed (client,
|
client_failed (client,
|
||||||
"failed connecting to server: %s",
|
"failed connecting to server: %s",
|
||||||
strerror (fd_errno));
|
strerror (fd_errno));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user