From a1d598399146984c99baa46db148e87c75261033 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 16 Feb 2007 18:19:35 +0000 Subject: use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/transfer.c') diff --git a/lib/transfer.c b/lib/transfer.c index cf4264cc8..a311a9974 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1811,7 +1811,7 @@ Transfer(struct connectdata *conn) #ifdef EINTR /* The EINTR is not serious, and it seems you might get this more ofen when using the lib in a multi-threaded environment! */ - if(errno == EINTR) + if(SOCKERRNO == EINTR) ; else #endif -- cgit v1.2.3