[ccan] [PATCH] net: fix ipv4 immediate connect
Rusty Russell
rusty at rustcorp.com.au
Thu Apr 24 16:52:01 EST 2014
Cody P Schafer <devel at codyps.com> writes:
> ---
> ccan/net/net.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
How did I miss this mail?
Applied,
Rusty.
>
> diff --git a/ccan/net/net.c b/ccan/net/net.c
> index d2eaa9e..9012ccc 100644
> --- a/ccan/net/net.c
> +++ b/ccan/net/net.c
> @@ -116,7 +116,7 @@ int net_connect_async(const struct addrinfo *addrinfo, struct pollfd pfds[2])
> close_noerr(pfds[i].fd);
> return -1;
> }
> - return pfds[0].fd;
> + return pfds[i].fd;
> }
> }
>
> --
> 1.8.5.3
>
> _______________________________________________
> ccan mailing list
> ccan at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/ccan
More information about the ccan
mailing list