On Thu, Feb 20, 2014 at 1:31 PM, Ben Pfaff wrote:
> On Wed, Feb 19, 2014 at 03:36:12PM -0800, Gurucharan Shetty wrote:
>> And add more users.
>>
>> Signed-off-by: Gurucharan Shetty
>
> Bitwise operators don't make sense to me here:
>> +if (error == EINPROGRESS
>> +#ifdef _WIN32
>> +|
On Wed, Feb 19, 2014 at 03:36:12PM -0800, Gurucharan Shetty wrote:
> And add more users.
>
> Signed-off-by: Gurucharan Shetty
Bitwise operators don't make sense to me here:
> +if (error == EINPROGRESS
> +#ifdef _WIN32
> +| WSAEALREADY | WSAEWOULDBLOCK
> +#endif
Otherwise,
Acked-by:
And add more users.
Signed-off-by: Gurucharan Shetty
---
lib/socket-util.c | 49 +++--
lib/socket-util.h | 12
lib/stream-ssl.c | 12
3 files changed, 39 insertions(+), 34 deletions(-)
diff --git a/lib/socket-util.c b/