]> sjero.net Git - wget/blobdiff - src/wget.h
[svn] Use the new function retryable_socket_connect_error instead of the
[wget] / src / wget.h
index 6cdfbeb0125f0dd79d468f70454c99df789c6d9a..e582e0082bfbae696db45119447606aa91c3f1af 100644 (file)
@@ -223,15 +223,4 @@ typedef enum
   SSLERRCERTFILE,SSLERRCERTKEY,SSLERRCTXCREATE
 } uerr_t;
 
-/* In case old systems don't have EAFNOSUPPORT, which we use below. */
-#ifndef EAFNOSUPPORT
-# define EAFNOSUPPORT EINVAL
-#endif
-
-#define CONNECT_ERROR(err) ((   (err) == EAFNOSUPPORT          \
-                            || (err) == EINVAL                 \
-                            || ((err) == ECONNREFUSED          \
-                                && !opt.retry_connrefused))    \
-                           ? CONIMPOSSIBLE : CONERROR)
-
 #endif /* WGET_H */