]> 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 edc159900a63fd04dabfa07d3acc087acc2fe549..e582e0082bfbae696db45119447606aa91c3f1af 100644 (file)
@@ -223,15 +223,4 @@ typedef enum
   SSLERRCERTFILE,SSLERRCERTKEY,SSLERRCTXCREATE
 } uerr_t;
 
-/* Whether the connection was unsuccessful or impossible.  If the
-   connection is considered impossible (e.g. for unsupported socket
-   family errors), there is no sense in retrying.  "Connection
-   refused" is normally not retried, except when opt.retry_connrefused
-   is specified.  */
-
-#define CONNECT_ERROR(err) ((unsupported_socket_family_error (err)     \
-                            || ((err) == ECONNREFUSED                  \
-                                && !opt.retry_connrefused))            \
-                           ? CONIMPOSSIBLE : CONERROR)
-
 #endif /* WGET_H */