diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-16 18:19:35 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-16 18:19:35 +0000 |
commit | a1d598399146984c99baa46db148e87c75261033 (patch) | |
tree | a2572fd8f9c9f76e746ee04f7fc5dd46f1fe44f9 /lib/transfer.c | |
parent | 4894ce16fc7af89d876e2f70db4dded7e1663198 (diff) |
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |