Commit 3ec5aa12 authored by Ilya Lipnitskiy's avatar Ilya Lipnitskiy

protobuf-c-rpc/protobuf-c-rpc.c: remove the duplicate call to

protobuf_c_dispatch_close_fd() (fixes #82)
parent b5b1d4e9
...@@ -269,7 +269,6 @@ handle_client_fd_connect_events (int fd, ...@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment